Class: Pangea::Cli
- Inherits:
-
Thor
- Object
- Thor
- Pangea::Cli
- Defined in:
- lib/pangea-orchestrator/cli.rb
Instance Method Summary collapse
- #apply(file) ⇒ Object
- #destroy(file) ⇒ Object
- #init ⇒ Object
- #plan(file) ⇒ Object
- #show(file) ⇒ Object
Instance Method Details
#apply(file) ⇒ Object
45 46 47 48 |
# File 'lib/pangea-orchestrator/cli.rb', line 45 def apply(file) Pangea::Processor.register_action('apply') Pangea::Processor.process(File.read(file)) end |
#destroy(file) ⇒ Object
63 64 65 66 |
# File 'lib/pangea-orchestrator/cli.rb', line 63 def destroy(file) Pangea::Processor.register_action('destroy') Pangea::Processor.process(File.read(file)) end |
#init ⇒ Object
69 70 71 |
# File 'lib/pangea-orchestrator/cli.rb', line 69 def init TheseUtils.state_init end |