Sha256: 5cdeb32807648039021818893269a3328a1917061d03c192caacfab7a180b393

Contents?: true

Size: 367 Bytes

Versions: 3

Compression:

Stored size: 367 Bytes

Contents

module Binnacle::Commands

  def self.help
    opts = Trollop::options do
      banner HELP_BANNER
    end

    Trollop::educate unless ENV["TEST_MODE"] == 'true'
  end
end

HELP_BANNER = <<-EOS
Usage:
   binnacle 'subcommand'

where [subcommands] are:
  tail: tails signals on a Binnacle Application or Channel
  help: shows this message

options for 'binnacle'
EOS

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
binnacle-0.5.0 lib/binnacle/commands/help.rb
binnacle-0.4.9 lib/binnacle/commands/help.rb
binnacle-0.4.8 lib/binnacle/commands/help.rb