Skip to main content

Crate monochange_snapshot

Crate monochange_snapshot 

Source
Expand description

Normalized snapshots for command and API surfaces.

Structs§

ClapCommandSurfaceExtractor
Clap-backed command surface extractor.
CommandNode
One command in a command surface snapshot.
CommandOption
A named command option.
CommandPositional
A positional command argument.
CommandSnapshot
A framework-neutral command surface snapshot.
OptionValue
Accepted value shape for an option or positional.
OutputContract
Stable output contract annotation for a command.
ParserBehavior
Parser behavior that affects invocation compatibility.
SnapshotChange
One classified snapshot change.
SnapshotDiffReport
Compatibility classification for two command snapshots.
SnapshotProvenance
Snapshot extraction provenance.
SnapshotTool
Tool identity captured in a snapshot.
StandardEntrypoint
Standard entrypoint spellings supported by a tool.
StandardEntrypoints
Standard CLI entrypoints normalized across spelling variants.

Enums§

OutputFormat
Machine-readable output format covered by a command output contract.
OutputStream
Output stream covered by a command output contract.
SnapshotChangeKind
Snapshot change kind.
SnapshotConfidence
Extractor confidence level.
SnapshotKind
Snapshot kind discriminator.
SnapshotSeverity
Severity recommendation for snapshot changes.
SnapshotView
Snapshot render mode.
ValueKind
CLI token value kind.

Constants§

SNAPSHOT_SCHEMA_VERSION
Snapshot schema version emitted by this crate.

Traits§

CommandSurfaceExtractor
Framework-neutral CLI surface extractor.

Functions§

default_max_bump
Default maximum SemVer bump for public CLI surface changes.
diff_command_snapshots
Classify compatibility impact between two command snapshots.
snapshot_from_clap
Build a high-confidence snapshot from clap command metadata.