Sha256: 79f7617a35c95f2c0f027a21c3d4b4d733c1e14581dada983dae0e7791b15d08

Contents?: true

Size: 372 Bytes

Versions: 3

Compression:

Stored size: 372 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

3 entries across 3 versions & 1 rubygems

Version Path
percheron-0.7.2 lib/percheron/commands/logs.rb
percheron-0.7.1 lib/percheron/commands/logs.rb
percheron-0.7.0 lib/percheron/commands/logs.rb