Hermes
Simulation Orchestration Platform for Aerospace
Loading...
Searching...
No Matches
hermes.cli.main Namespace Reference

Functions

None _configure_logging (*, bool verbose=False, bool quiet=False)
None cli ()
None run (Path config_path, bool verbose, bool quiet, bool no_server, int|None port)
None validate (Path config_path)
None list_signals (str|None shm_name)
None main ()

Variables

 log = structlog.get_logger()

Detailed Description

Command-line interface for Hermes simulation platform.

Provides commands for running and managing simulations from the command line.

Function Documentation

◆ _configure_logging()

None hermes.cli.main._configure_logging ( * ,
bool verbose = False,
bool quiet = False )
protected
Configure structlog with appropriate log level filtering.

◆ cli()

None hermes.cli.main.cli ( )
Hermes - Simulation Orchestration Platform.

Run and manage simulations from YAML configuration files.

◆ list_signals()

None hermes.cli.main.list_signals ( str | None shm_name)
List signals from a running simulation.

Connects to the shared memory segment and lists all registered signals.

◆ main()

None hermes.cli.main.main ( )
Entry point for the CLI.

◆ run()

None hermes.cli.main.run ( Path config_path,
bool verbose,
bool quiet,
bool no_server,
int | None port )
Run simulation from configuration file.

CONFIG_PATH: Path to YAML configuration file

◆ validate()

None hermes.cli.main.validate ( Path config_path)
Validate configuration file.

CONFIG_PATH: Path to YAML configuration file

Exits with code 0 if valid, 1 if invalid.

Variable Documentation

◆ log

hermes.cli.main.log = structlog.get_logger()