Class: LayeredStack::Cli

Inherits:
Thor
  • Object
show all
Defined in:
lib/layered_stack.rb

Defined Under Namespace

Classes: Backend, Frontend

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

This is a Thor configuration that will exit the program if a command fails

Returns:

  • (Boolean)


9
10
11
# File 'lib/layered_stack.rb', line 9

def self.exit_on_failure?
  true
end

Instance Method Details

#create(arg) ⇒ Object



15
16
17
# File 'lib/layered_stack.rb', line 15

def create(arg)
  LayeredStack::Root::Create.execute(arg)
end