Class: ReverseTunnel::CLI::Global
- Defined in:
- lib/reverse-tunnel/cli.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#configure, #initialize, #options
Constructor Details
This class inherits a constructor from ReverseTunnel::CLI::Base
Instance Method Details
#parser ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/reverse-tunnel/cli.rb', line 42 def parser @parser ||= Trollop::Parser.new do <<-EOS Usage: reverse-client [global options] server|client [options] where [global options] are: EOS opt :debug, "Enable debug messages" opt :syslog, "Send log messages to syslog" version ReverseTunnel::VERSION stop_on "server", "client" end end |