Go to the source code of this file.
|
| | add_output_label (label, flags) |
| | Adds plugin label to outputs enumerated in given argument help texts.
|
| |
| | add_write_format (name, cls, label=None, options=()) |
| | Adds plugin to –write in main.ARGUMENTS and MultiSink formats.
|
| |
| | configure (args=None, **kwargs) |
| | Imports plugin Python packages, invokes init(args) if any, raises on error.
|
| |
| | get_argument (name, group=None) |
| | Returns a command-line argument dictionary, or None if not found.
|
| |
| | init (args=None, **kwargs) |
| | Imports and initializes all plugins from auto and from given arguments.
|
| |
| | load (category, args, collect=False) |
| | Returns a plugin category instance loaded from any configured plugin, or None.
|
| |
| | populate_known_plugins () |
| | Adds known non-auto plugins to –plugin argument help.
|
| |
| | populate_output_arguments () |
| | Populates argument texts with added output labels.
|
| |
| | populate_write_formats () |
| | Populates main.ARGUMENTS with added write formats and options.
|
| |
|
| | DEFAULT_ARGS = dict(PLUGIN=[], STOP_ON_ERROR=False) |
| | Function argument defaults.
|
| |
| dict | OUTPUT_LABELS = {} |
| | Added output labels to insert into argument texts, as {label: [argument flag, ]}.
|
| |
| dict | PLUGINS = {} |
| | {"some.module" or "some.module.Cls": <module 'some.module' from ..> or <class 'some.module.Cls'>}
|
| |
| dict | WRITE_OPTIONS = {} |
| | Added write options, as {plugin label: [(name, help), ]}.
|
| |