Part of twisted.scripts.mktap View Source View In Hierarchy
Split Table into Classes Show Methods in One Table
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 121 | Method | init | Undocumented |
| 135 | Method | parseArgs | I am called with any leftover arguments which were not options. |
| 148 | Method | postOptions | I am called after the options are parsed. |
| 138 | Method | _reportDebug | Undocumented |
| 141 | Method | _reportProgress | Undocumented |
Inherited from Options:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 136 | Method | __init__ | Undocumented |
| 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. |
| 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 |
| 136 | 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 |
| 121 | Method | init | Undocumented |
| 176 | Method | opt_help | Display this help and exit. |
| 183 | Method | opt_version | Undocumented |
| 135 | Method | parseArgs | I am called with any leftover arguments which were not options. |
| 190 | Method | parseOptions | The guts of the command-line parser. |
| 148 | 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 |
| 138 | Method | _reportDebug | Undocumented |
| 141 | Method | _reportProgress | 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!I am called after the options are parsed.
Override this method in your subclass to do something after the options have been parsed and assigned, like validate that all options are sane.