stormlog.cli

Command-line interface for Stormlog.

Functions

cmd_analyze(args)

Handle analyze command.

cmd_diagnose(args)

Produce a portable diagnostic bundle.

cmd_info(args)

Handle info command.

cmd_monitor(args)

Handle monitor command.

cmd_track(args)

Handle track command.

main()

Main CLI entry point.

stormlog.cli.main()[source]

Main CLI entry point.

Return type:

None

stormlog.cli.cmd_info(args)[source]

Handle info command.

Parameters:

args (Namespace)

Return type:

None

stormlog.cli.cmd_monitor(args)[source]

Handle monitor command.

Parameters:

args (Namespace)

Return type:

None

stormlog.cli.cmd_track(args)[source]

Handle track command.

Parameters:

args (Namespace)

Return type:

None

stormlog.cli.cmd_analyze(args)[source]

Handle analyze command.

Parameters:

args (Namespace)

Return type:

int

stormlog.cli.cmd_diagnose(args)[source]

Produce a portable diagnostic bundle.

Returns ExitCode.OK, ExitCode.FINDINGS when memory risk was detected, ExitCode.USAGE for invalid options or an unsupported runtime, and ExitCode.ERROR when the bundle could not be written.

Parameters:

args (Namespace)

Return type:

int