Structs§
- Command
Node - Exec
Spec - Host
Platform - Which platform string to use when filtering
os:lists on commands. - Match
Outcome - Metadata
- Root
Spec - RunContext
- Spec
Root Identity - Stable identity for where a YAML spec tree is rooted (directory of linked fragments + entry file).
Constants§
- EMBEDDED_
DEFAULT_ FILES - Embedded category fragments for the bundled default spec (paths relative to
jan-cli/). - EMBEDDED_
ROOT_ YAML - EMBEDDED_
SPEC_ DIR
Functions§
- default_
db_ path - embedded_
spec_ identity - format_
help - load_
embedded_ default_ spec - Built-in command tree used when no
jan.yaml/JAN_SPEC/--specis provided. - load_
spec - load_
spec_ from_ str - Parse YAML from memory. Use
include_basewhen the document usesinclude:(root or subtree). - match_
commands - merge_
specs_ into - Deep-merge
overlay.commandsintobase, letting overlays add or replace leaves and extend nested groups. Used for--extra-spec/--stdin-specfragments. - resolve_
git_ branch - resolve_
spec_ dir_ entry - Resolve
--spec-dir+ root file name into an absolute spec path and identity. - resolve_
spec_ path - Resolve a YAML spec file, or
Ok(None)to load the embedded default viaload_embedded_default_spec. - run_jan
- run_
matched - spec_
identity_ for_ spec_ file - Build
SpecRootIdentityfor a concrete spec file on disk (includeresolves from its parent). - validate_
spec - Validate every command in the tree (after merges or programmatic edits).