Sha256: 8df3d22f7c0fbba377f61552c5ba58c41dd795989f290bad0a8d47e026742e66

Contents?: true

Size: 718 Bytes

Versions: 2

Compression:

Stored size: 718 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
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
percheron-0.7.8 lib/percheron/commands/main.rb
percheron-0.7.7 lib/percheron/commands/main.rb