Skip to main content

Module cli_surface

Module cli_surface 

Source

Structs§

CapturedCliSnapshot
A captured CLI snapshot with the command that produced it.

Enums§

CliSnapshotBaseline
How a CLI snapshot comparison ended for one package.

Constants§

CLI_SNAPSHOT_BASELINE_DIR
Directory (relative to the workspace root) holding the committed command-surface baselines. The rest of .monochange/ is committed release state, so baselines ride along with the release commit.

Functions§

capture_cli_snapshot
Run the configured snapshot command for cli and parse its stdout as a normalized command-surface snapshot.
cli_snapshot_baseline_path
Return the workspace-relative baseline path for a registered CLI.
cli_snapshot_root_relative
describe_cli_snapshot_baseline
Render a human-readable reason for why a baseline cannot be diffed.
list_registered_clis
monochange snapshot --list: print every registered package CLI with its baseline status.
read_cli_snapshot_baseline
Load and classify the committed baseline for a registered CLI.
run_package_snapshot
monochange snapshot --package <id> [--save]: capture the configured package CLI snapshot, optionally persisting it as the committed baseline.
save_cli_snapshot_baseline
Write a captured snapshot as the committed baseline for name.