Skip to main content

Module scopes

Module scopes 

Source
Expand description

config scopes CLI commands — scope-taxonomy operations on .omni-dev/scopes.yaml.

usage tallies declared commit scopes against scopes.yaml; lint validates scopes.yaml against the source tree it claims to describe (issue #1475). Lint is zero AI, zero network: both its assertions are pure globset matching against the tracked-file list, reusing crate::git::commit::scope_matches_files and crate::git::resolve_scope rather than a second matcher.

Structs§

LintCommand
Lint command options.
ScopesCommand
Scopes operations.
UsageCommand
Usage command options — tallies declared commit scopes against history.

Enums§

ScopesSubcommands
Scopes subcommands.

Functions§

lint_scopes
Pure core of omni-dev config scopes lint — no filesystem or git I/O, so this is what the unit tests below drive directly.
run_scopes_lint
Runs the lint against a real repository.