Class: Apiary::CLI
- Inherits:
-
Thor
- Object
- Thor
- Apiary::CLI
- Defined in:
- lib/apiary/cli.rb
Instance Method Summary collapse
Instance Method Details
#fetch ⇒ Object
14 15 16 17 |
# File 'lib/apiary/cli.rb', line 14 def fetch cmd = Apiary::Command::Fetch.new cmd.execute end |
#preview ⇒ Object
28 29 30 31 |
# File 'lib/apiary/cli.rb', line 28 def preview cmd = Apiary::Command::Preview.new cmd.execute end |