Skip to main content

Crate jan_cli

Crate jan_cli 

Source

Structs§

CommandNode
ExecSpec
HostPlatform
Which platform string to use when filtering os: lists on commands.
MatchOutcome
Metadata
RootSpec
RunContext
SpecRootIdentity
Stable identity for where a YAML spec tree is rooted (directory of linked fragments + entry file).
UserConfig

Functions§

default_db_path
format_help
load_spec
load_spec_from_str
Parse YAML from memory. Use include_base when the document uses include: (root or subtree).
load_user_config
match_commands
merge_specs_into
Deep-merge overlay.commands into base, letting included YAML fragments add or replace leaves and extend nested groups.
resolve_git_branch
resolve_preferred_spec
Resolve the preferred jan directory saved by jan use.
resolve_spec_dir_entry
Resolve a jan directory + entry file name into an absolute spec path and identity.
run_jan
run_matched
validate_spec
Validate every command in the tree (after merges or programmatic edits).