Sha256: c4a4891f0d9b1f05eab87318bef590e9bc8d9591a34ec51add71075d295cd0f2
Contents?: true
Size: 1.05 KB
Versions: 17
Compression:
Stored size: 1.05 KB
Contents
module Kite class Core < Base include Kite::Helpers desc "new CLOUD_PATH", "Generate Cloud infrastructure skeleton from configuration" # Creates a cloud infrastructure skeleton with a given name def new(cloud_name) target = Kite::Cloud.new(self, cloud_name) target.prepare end desc "generate", "Generate IaC from configuration" subcommand "generate", Kite::Generate desc "module", "Use kite modules with environments" subcommand "module", Kite::Module desc "configuration", "Get configs of current environment" subcommand "configuration", Kite::Configuration desc "terraform", "Run Terraform-related commands with environment variables loaded from module vars" method_option :env, type: :string, desc: "Environment", required: true, default: ENV['KITE_ENV'] def terraform(command, *args) Kernel.exit Kite::Terraform.new(self, options).run(command, *args) end desc "version", "Return kite version" # Return kite version def version say "v#{ Kite::VERSION }" end end end
Version data entries
17 entries across 17 versions & 1 rubygems