lib/percheron/commands/main.rb in percheron-0.7.16 vs lib/percheron/commands/main.rb in percheron-0.8.0

- old
+ new

@@ -1,15 +1,14 @@ module Percheron module Commands class Main < Abstract subcommand %w(list status), 'List stacks and its units', List - subcommand 'console', 'Start a pry console session', Console + subcommand 'console', '', Console subcommand 'start', 'Start a stack', Start subcommand 'stop', 'Stop a stack', Stop subcommand 'restart', 'Restart a stack', Restart - subcommand 'build', 'Build images for a stack', Build - subcommand 'create', 'Build images and create units for a stack', Create - subcommand 'recreate', 'Recreate a stack', Recreate + subcommand %w(build rebuild), '(Re)build image(s) for a stack', Build + subcommand %w(create recreate), '(Re)build image(s) and (re)create units for a stack', Create subcommand 'purge', 'Purge a stack', Purge subcommand 'shell', 'Shell into a unit', Shell subcommand 'logs', 'Show logs for a unit', Logs subcommand 'graph', 'Generate a stack graph', Graph end