Sha256: 88ed9a1fd292ae97b80cc17ba304c20d1c7070545f006c7a17d0ba5210544c1a

Contents?: true

Size: 222 Bytes

Versions: 5

Compression:

Stored size: 222 Bytes

Contents

module Percheron
  module CLI
    class RestartCommand < AbstractCommand

      parameter 'STACK_NAME', 'stack name'

      def execute
        Percheron::Stack.new(config, stack_name).restart!
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
percheron-0.5.0 lib/percheron/cli/restart_command.rb
percheron-0.4.0 lib/percheron/cli/restart_command.rb
percheron-0.3.2 lib/percheron/cli/restart_command.rb
percheron-0.3.1 lib/percheron/cli/restart_command.rb
percheron-0.3.0 lib/percheron/cli/restart_command.rb