Sha256: a598fc80df06d430d0bba9296889de8a3bae703d1b520d45e80fcacbb7b234a8
Contents?: true
Size: 964 Bytes
Versions: 1
Compression:
Stored size: 964 Bytes
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 '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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kite-1.0.10 | lib/kite/core.rb |