Class: Gatch::CLI
- Inherits:
-
Thor
- Object
- Thor
- Gatch::CLI
- Defined in:
- lib/gatch/cli.rb
Instance Method Summary collapse
Instance Method Details
#default ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/gatch/cli.rb', line 11 def default() if [:version] puts "v1.0.5" else puts "Usuage: gatch [command] [option]" end end |
#init ⇒ Object
20 21 22 |
# File 'lib/gatch/cli.rb', line 20 def init() system("git clone https://github.com/rinov/gatch-gulp") end |
#start ⇒ Object
25 26 27 |
# File 'lib/gatch/cli.rb', line 25 def start() system("gulp") end |