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?, help_flags, initial_dispatch_command, opt?, rbenv?, reset_dispatch_command, 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



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

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

#providers(*stacks) ⇒ Object



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

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



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

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

#up(*stacks) ⇒ Object



61
62
63
# File 'lib/terraspace/cli/all.rb', line 61

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

#validate(*stacks) ⇒ Object



67
68
69
# File 'lib/terraspace/cli/all.rb', line 67

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