Method: Cyborg::Help#commands
- Defined in:
- lib/cyborg/command/help.rb
#commands(command) ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/cyborg/command/help.rb', line 24 def commands(command) case command when 'new', 'n'; new when 'build', 'b'; build when 'watch', 'w'; watch when 'server', 's'; server when 'clean', 'c'; clean when 'help', 'h'; help when 'gem:build'; gem_build when 'gem:install'; gem_install when 'gem:release'; gem_release end end |