Class: Terraspace::CLI::Tfc::Runs

Inherits:
Terraspace::Command show all
Defined in:
lib/terraspace/cli/tfc/runs.rb

Constant Summary collapse

Help =
Terraspace::CLI::Help
Runs =
Terraspace::Terraform::Tfc::Runs

Instance Method Summary collapse

Methods inherited from Terraspace::Command

alter_command_description, check_project!, check_standalone_install!, command_help, dispatch, exit_on_failure?, help_flags, initial_dispatch_command, opt?, rbenv?, reset_dispatch_command, rvm?, subcommand?, website

Methods included from Util::Logging

#logger

Instance Method Details

#list(mod) ⇒ Object



10
11
12
# File 'lib/terraspace/cli/tfc/runs.rb', line 10

def list(mod)
  Runs.new(options.merge(mod: mod)).list
end

#prune(mod) ⇒ Object



18
19
20
# File 'lib/terraspace/cli/tfc/runs.rb', line 18

def prune(mod)
  Runs.new(options.merge(mod: mod)).prune
end