Sha256: fb419229c84853afceaae7da563d9f11251da1e27589cfad3d3ed46757c638e9

Contents?: true

Size: 371 Bytes

Versions: 4

Compression:

Stored size: 371 Bytes

Contents

module Percheron
  module Commands
    class Logs < Abstract

      parameter('STACK_NAME', 'stack name', required: true)
      parameter('CONTAINER_NAME', 'container name', required: true)
      option('--follow', :flag, 'follow the logs', default: false)

      def execute
        super
        stack.logs!(container_name, follow: follow?)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
percheron-0.7.6 lib/percheron/commands/logs.rb
percheron-0.7.5 lib/percheron/commands/logs.rb
percheron-0.7.4 lib/percheron/commands/logs.rb
percheron-0.7.3 lib/percheron/commands/logs.rb