grepros 1.2.2
grep for ROS bag files and live topics
Loading...
Searching...
No Matches
grepros.main Namespace Reference

Program main interface. More...

Functions

 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.
 

Variables

dict ARGUMENTS
 Configuration for argparse, as {description, epilog, args: [..], groups: {name: [..]}}.
 
 CLI_ARGS = None
 List of command-line arguments the program was invoked with.
 

Detailed Description

Program main interface.

Function Documentation

◆ flush_stdout()

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()

run ( )

Parses command-line arguments and runs search.

Definition at line 436 of file main.py.

Variable Documentation

◆ ARGUMENTS

dict ARGUMENTS

Configuration for argparse, as {description, epilog, args: [..], groups: {name: [..]}}.

Definition at line 30 of file main.py.

◆ CLI_ARGS

CLI_ARGS = None

List of command-line arguments the program was invoked with.

Definition at line 397 of file main.py.