Sha256: 643b2bfdf99c944f62edfa1bc11817eae696e75fb8339e97a89a39dfd978ef63
Contents?: true
Size: 652 Bytes
Versions: 3
Compression:
Stored size: 652 Bytes
Contents
class Terraspace::CLI class Cloud < Terraspace::Command Workspace = Terraspace::Terraform::Cloud::Workspace desc "list", "List workspaces" long_desc Help.text("cloud:list") def list Workspace.new(options).list end desc "destroy", "Destroy workspace" long_desc Help.text("cloud:destroy") option :yes, aliases: :y, type: :boolean, desc: "bypass are you sure prompt" def destroy(mod) Workspace.new(options.merge(mod: mod)).destroy end desc "setup", "Setup workspace" long_desc Help.text("cloud:setup") def setup(mod) Workspace.new(options.merge(mod: mod)).setup end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
terraspace-0.2.2 | lib/terraspace/cli/cloud.rb |
terraspace-0.2.1 | lib/terraspace/cli/cloud.rb |
terraspace-0.2.0 | lib/terraspace/cli/cloud.rb |