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).
Functions§
- default_
db_ path - format_
help - 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 from explicit flags, env, or cwd-local
jan.yaml/jan.spec.yaml. - resolve_
well_ known_ spec - Resolve the well-known spec directory when no explicit
--spec/--spec-dir/ cwdjan.yamlis set. - 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).
- well_
known_ spec_ dir - Default install directory for a spec tree (
~/.config/jan/scripts, overridable viaJAN_INSTALL_DIR).