Sha256: a20fb9ceb8f7380b9a9b6f182b070d3a8332d703d6be969a5f34099cb0b9dc50

Contents?: true

Size: 356 Bytes

Versions: 10

Compression:

Stored size: 356 Bytes

Contents

module Percheron
  module Commands
    class Logs < Abstract

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
percheron-0.7.16 lib/percheron/commands/logs.rb
percheron-0.7.15 lib/percheron/commands/logs.rb
percheron-0.7.14 lib/percheron/commands/logs.rb
percheron-0.7.13 lib/percheron/commands/logs.rb
percheron-0.7.12 lib/percheron/commands/logs.rb
percheron-0.7.11 lib/percheron/commands/logs.rb
percheron-0.7.10 lib/percheron/commands/logs.rb
percheron-0.7.9 lib/percheron/commands/logs.rb
percheron-0.7.8 lib/percheron/commands/logs.rb
percheron-0.7.7 lib/percheron/commands/logs.rb