Sha256: a553bf846ca3a5485ba8bbdc2458062104a54bb55e2a62b9a15721d5e149a2d1
Contents?: true
Size: 845 Bytes
Versions: 71
Compression:
Stored size: 845 Bytes
Contents
class Terraspace::CLI::Tfc class Runs < Terraspace::Command Help = Terraspace::CLI::Help Runs = Terraspace::Terraform::Tfc::Runs desc "list STACK", "List runs." long_desc Help.text("tfc:runs:list") option :format, desc: "Output formats: #{CliFormat.formats.join(', ')}" option :status, default: %w[pending planned], type: :array, desc: "Filter by statuses: pending, planned, all" def list(mod) Runs.new(options.merge(mod: mod)).list end desc "prune STACK", "Prune runs that are possible to cancel or discard." long_desc Help.text("tfc:runs:prune") option :noop, type: :boolean, desc: "Shows what would be cancelled/discarded." option :yes, aliases: :y, type: :boolean, desc: "bypass are you sure prompt" def prune(mod) Runs.new(options.merge(mod: mod)).prune end end end
Version data entries
71 entries across 71 versions & 1 rubygems