Structs§
- Captured
CliSnapshot - A captured CLI snapshot with the command that produced it.
Enums§
- CliSnapshot
Baseline - 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
cliand 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.