Sha256: 27da49b8d17f7d674c84e30d0f7a6e2274979330eb40dda864dd5da605e73217

Contents?: true

Size: 642 Bytes

Versions: 1

Compression:

Stored size: 642 Bytes

Contents

class TerraspaceBundler::CLI
  class Bundle < TerraspaceBundler::Command
    terrafile_option = Proc.new {
      option :terrafile, default: "Terrafile", desc: "Terrafile to use"
    }

    desc "install", "install"
    long_desc Help.text("bundle/install")
    terrafile_option.call
    def install
      Install.new(options).run
    end

    desc "update", "update"
    long_desc Help.text("bundle/install")
    terrafile_option.call
    def update(mod=nil)
      Update.new(options.merge(mod: mod)).run
    end

    desc "clean", "clean"
    long_desc Help.text("bundle/clean")
    def clean
      Clean.new(options).run
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
terraspace-bundler-0.1.0 lib/terraspace_bundler/cli/bundle.rb