Class: ComerDeTapas::CLI
- Inherits:
-
Thor
- Object
- Thor
- ComerDeTapas::CLI
- Defined in:
- lib/comer_de_tapas/cli.rb
Instance Method Summary collapse
- #download ⇒ Object
- #init ⇒ Object
-
#initialize ⇒ CLI
constructor
A new instance of CLI.
- #version ⇒ Object
Constructor Details
Instance Method Details
#download ⇒ Object
26 27 28 |
# File 'lib/comer_de_tapas/cli.rb', line 26 def download @client.download(force: [:force]) end |
#init ⇒ Object
17 18 19 20 21 |
# File 'lib/comer_de_tapas/cli.rb', line 17 def init @client.init! say "Please fill in your subscription info in ~/.rubytapas/.credentials." say "When you finished, type `comer_de_tapas download` to download." end |
#version ⇒ Object
11 12 13 |
# File 'lib/comer_de_tapas/cli.rb', line 11 def version say VERSION end |