Class: Kakine::CLI
- Inherits:
-
Thor
- Object
- Thor
- Kakine::CLI
- Defined in:
- lib/kakine/cli.rb
Instance Method Summary collapse
Instance Method Details
#apply ⇒ Object
15 16 17 18 |
# File 'lib/kakine/cli.rb', line 15 def apply setup() Kakine::Director.apply end |
#convert ⇒ Object
25 26 27 28 29 30 |
# File 'lib/kakine/cli.rb', line 25 def convert format = [:format] or fail '--format is required' output = [:output] Kakine::Option.() Kakine::Director.convert(format, output) end |
#show ⇒ Object
6 7 8 9 |
# File 'lib/kakine/cli.rb', line 6 def show setup() Kakine::Director.show_current_security_group end |