ogstools.logparser.monitor_cli module#

class ogstools.logparser.monitor_cli.ExitCode[source]#

Bases: IntEnum

Exit codes returned by the cli() function.

Attributes#

SUCCESSint

0 – completed successfully.

BOKEH_FAILEDint

1 – the bokeh subprocess exited with a non-zero return code.

INVALID_INPUTint

2 – invalid input, e.g. the specified JSON file was not found.

SUCCESS = 0#
BOKEH_FAILED = 1#
INVALID_INPUT = 2#
__new__(value)#
ogstools.logparser.monitor_cli.argparser()[source]#
Return type:

ArgumentParser

ogstools.logparser.monitor_cli.cli()[source]#
Return type:

int