Class: Terraspace::CLI::All

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

Instance Method Summary collapse

Methods inherited from Terraspace::Command

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

Methods included from Util::Logging

#logger

Instance Method Details

#down(*stacks) ⇒ Object



9
10
11
# File 'lib/terraspace/cli/all.rb', line 9

def down(*stacks)
  Terraspace::All::Runner.new("down", @options.merge(stacks: stacks)).run
end

#graph(*stacks) ⇒ Object



17
18
19
# File 'lib/terraspace/cli/all.rb', line 17

def graph(*stacks)
  Terraspace::All::Grapher.new(@options.merge(stacks: stacks)).run
end

#init(*stacks) ⇒ Object



23
24
25
# File 'lib/terraspace/cli/all.rb', line 23

def init(*stacks)
  Terraspace::All::Runner.new("init", @options.merge(stacks: stacks)).run
end

#output(*stacks) ⇒ Object



35
36
37
# File 'lib/terraspace/cli/all.rb', line 35

def output(*stacks)
  Terraspace::All::Runner.new("output", @options.merge(stacks: stacks)).run
end

#plan(*stacks) ⇒ Object



41
42
43
# File 'lib/terraspace/cli/all.rb', line 41

def plan(*stacks)
  Terraspace::All::Runner.new("plan", @options.merge(stacks: stacks)).run
end

#providers(*stacks) ⇒ Object



47
48
49
# File 'lib/terraspace/cli/all.rb', line 47

def providers(*stacks)
  Terraspace::All::Runner.new("providers", @options.merge(stacks: stacks)).run
end

#refresh(*stacks) ⇒ Object



29
30
31
# File 'lib/terraspace/cli/all.rb', line 29

def refresh(*stacks)
  Terraspace::All::Runner.new("refresh", @options.merge(stacks: stacks)).run
end

#show(*stacks) ⇒ Object



53
54
55
# File 'lib/terraspace/cli/all.rb', line 53

def show(*stacks)
  Terraspace::All::Runner.new("show", @options.merge(stacks: stacks)).run
end

#up(*stacks) ⇒ Object



59
60
61
# File 'lib/terraspace/cli/all.rb', line 59

def up(*stacks)
  Terraspace::All::Runner.new("up", @options.merge(stacks: stacks)).run
end

#validate(*stacks) ⇒ Object



65
66
67
# File 'lib/terraspace/cli/all.rb', line 65

def validate(*stacks)
  Terraspace::All::Runner.new("validate", @options.merge(stacks: stacks)).run
end