Part of twisted.conch.scripts.conch View Source View In Hierarchy
Split Table into Classes Show Methods in One Table
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 49 | Method | opt_escape | Set escape character; ``none'' = disable |
| 60 | Method | opt_localforward | Forward local port to remote address (lport:host:port) |
| 67 | Method | opt_remoteforward | Forward remote port to local address (rport:host:port) |
| 74 | Method | parseArgs | I am called with any leftover arguments which were not options. |
Inherited from ConchOptions:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 55 | Method | __init__ | Undocumented |
| 60 | Method | opt_identity | Identity for public-key authentication |
| 64 | Method | opt_ciphers | Select encryption algorithms |
| 73 | Method | opt_macs | Specify MAC algorithms |
| 81 | Method | opt_host_key_algorithms | Select host key algorithms |
| 89 | Method | opt_user_authentications | Choose how to authenticate to the remote server |
| 93 | Method | opt_connection_usage | Undocumented |
Inherited from Options (via ConchOptions):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 168 | Method | __hash__ | Define a custom hash function so that Options instances can be used |
| 176 | Method | opt_help | Display this help and exit. |
| 183 | Method | opt_version | Undocumented |
| 190 | Method | parseOptions | The guts of the command-line parser. |
| 243 | Method | postOptions | I am called after the options are parsed. |
| 412 | Method | __str__ | Undocumented |
| 415 | Method | getSynopsis | Returns a string containing a description of these options and how to |
| 438 | Method | getUsage | Undocumented |
| 267 | Method | _generic_flag | Undocumented |
| 274 | Method | _gather_flags | Gather up boolean (flag) options. |
| 301 | Method | _gather_parameters | Gather options which take a value. |
| 342 | Method | _gather_handlers | Gather up options with their own handler methods. |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 168 | Method | __hash__ | Define a custom hash function so that Options instances can be used |
| 55 | Method | __init__ | Undocumented |
| 412 | Method | __str__ | Undocumented |
| 415 | Method | getSynopsis | Returns a string containing a description of these options and how to |
| 438 | Method | getUsage | Undocumented |
| 64 | Method | opt_ciphers | Select encryption algorithms |
| 93 | Method | opt_connection_usage | Undocumented |
| 49 | Method | opt_escape | Set escape character; ``none'' = disable |
| 176 | Method | opt_help | Display this help and exit. |
| 81 | Method | opt_host_key_algorithms | Select host key algorithms |
| 60 | Method | opt_identity | Identity for public-key authentication |
| 60 | Method | opt_localforward | Forward local port to remote address (lport:host:port) |
| 73 | Method | opt_macs | Specify MAC algorithms |
| 67 | Method | opt_remoteforward | Forward remote port to local address (rport:host:port) |
| 89 | Method | opt_user_authentications | Choose how to authenticate to the remote server |
| 183 | Method | opt_version | Undocumented |
| 74 | Method | parseArgs | I am called with any leftover arguments which were not options. |
| 190 | Method | parseOptions | The guts of the command-line parser. |
| 243 | Method | postOptions | I am called after the options are parsed. |
| 274 | Method | _gather_flags | Gather up boolean (flag) options. |
| 342 | Method | _gather_handlers | Gather up options with their own handler methods. |
| 301 | Method | _gather_parameters | Gather options which take a value. |
| 267 | Method | _generic_flag | Undocumented |
I am called with any leftover arguments which were not options.
Override me to do something with the remaining arguments on the command line, those which were not flags or options. e.g. interpret them as a list of files to operate on.
Note that if there more arguments on the command line than this method accepts, parseArgs will blow up with a getopt.error. This means if you don't override me, parseArgs will blow up if I am passed any arguments at all!