Method: Tunneler::CommandLine.help

Defined in:
lib/tunneler/cli.rb

.helpObject



96
97
98
99
100
101
102
103
# File 'lib/tunneler/cli.rb', line 96

def self.help
  "Tunneler CLI - ssh or scp through bastion host tunnel\n\n" +
  "Available subcommands: #{self.sub_commands.join(', ')}\n\n" +
  "Command syntax: tunneler <parameters> <subcommand>\n" + 
  "Examples:       tunneler -b 120.1.2.3 -d 121.2.3.4 ssh\n" +
  "                tunneler -b 120.1.2.3 -d 121.2.3.4 scp local_file destination_file\n" +
  "                tunneler -b 120.1.2.3 -d 121.2.3.4 execute whoami\n"
end