Sha256: 61d85ebdb2b2ee0531a6bc7f2497ad528280cbf424536396f5fb4329d6a02da8

Contents?: true

Size: 676 Bytes

Versions: 3

Compression:

Stored size: 676 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 'render MANIFEST', 'Render manifest file from configuration and Terraform output'
    subcommand "render", Kite::Render

    desc "version", "Return kite version"
    # Return kite version
    def version
      say "v#{ Kite::VERSION }"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kite-0.2.0 lib/kite/core.rb
kite-0.1.0 lib/kite/core.rb
kite-0.0.9 lib/kite/core.rb