Class: Ploy::Command::Help
Instance Method Summary collapse
Instance Method Details
#help ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/ploy/command/help.rb', line 9 def help return "usage: ploy [command] [options]\n\nCommands:\n publish Package the current git repository and send to S3\n install Pull a deployment from S3 and install on current system\n bless Mark a package as tested for production use\n list List published packages\n help Show helps\n\n" end |
#run(argv) ⇒ Object
6 7 8 |
# File 'lib/ploy/command/help.rb', line 6 def run(argv) puts Ploy::Command.lookup(argv.shift).help end |