Program main interface.
More...
|
| | flush_stdout () |
| | Writes a linefeed to sdtout if nothing has been printed to it so far.
|
| |
| | make_thread_excepthook (args, exitcode_dict) |
| | Returns thread exception handler: function(text, exc) prints error, stops application.
|
| |
| | preload_plugins (cli_args) |
| | Imports and initializes plugins from auto-load folder and from arguments.
|
| |
| | run () |
| | Parses command-line arguments and runs search.
|
| |
|
| dict | ARGUMENTS |
| | Configuration for argparse, as {description, epilog, args: [..], groups: {name: [..]}}.
|
| |
| | CLI_ARGS = None |
| | List of command-line arguments the program was invoked with.
|
| |
◆ flush_stdout()
Writes a linefeed to sdtout if nothing has been printed to it so far.
Definition at line 400 of file main.py.
◆ make_thread_excepthook()
| make_thread_excepthook |
( |
|
args, |
|
|
|
exitcode_dict |
|
) |
| |
Returns thread exception handler: function(text, exc) prints error, stops application.
Definition at line 424 of file main.py.
◆ preload_plugins()
| preload_plugins |
( |
|
cli_args | ) |
|
Imports and initializes plugins from auto-load folder and from arguments.
Definition at line 407 of file main.py.
◆ run()
Parses command-line arguments and runs search.
Definition at line 436 of file main.py.
◆ ARGUMENTS
Configuration for argparse, as {description, epilog, args: [..], groups: {name: [..]}}.
Definition at line 30 of file main.py.
◆ CLI_ARGS
List of command-line arguments the program was invoked with.
Definition at line 397 of file main.py.