geopulse.cli

GeoPulse command-line interface.

Uses argparse (stdlib only). Deliberately no Click / Typer to keep the core dependency list at six.

Subcommands

run

Execute a pipeline described by a YAML config file.

validate

Validate the current build against a published benchmark directory.

info

Print version, install location, and detected optional extras.

earth list

List the built-in 1-D Earth models.

Functions

build_parser()

Construct the argparse parser used by main().

main([argv])

CLI entry point.

geopulse.cli.main(argv=None)[source]

CLI entry point.

Parameters:

argv (list[str] | None) – Argument vector for testing. Defaults to sys.argv[1:].

Return type:

int

Returns:

int – Process exit code.

geopulse.cli.build_parser()[source]

Construct the argparse parser used by main().

Return type:

ArgumentParser