Sha256: cd9fb223a7ae0cf77fd993d9fbea053599ae43eb95468cb9be9709d14e24fd0b

Contents?: true

Size: 776 Bytes

Versions: 2

Compression:

Stored size: 776 Bytes

Contents

module Percheron
  module Commands
    class Main < Abstract
      subcommand %w(list status), "List stacks and it's units", List
      subcommand 'console', 'Start a pry console session', 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 '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
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
percheron-0.7.10 lib/percheron/commands/main.rb
percheron-0.7.9 lib/percheron/commands/main.rb