Skip to main content

Crate only

Crate only 

Source

Structs§

CliCompileResult
CliInput
Normalized CLI input shared across discovery, planning, and runtime phases.
DiscoveredOnlyfile
Discovered Onlyfile input for CLI execution.
DocumentAst
ExecutionPlan
LoadedOnlyfile
Loaded Onlyfile source plus parsed semantic document.
NamespaceAst
ParamAst
TaskAst

Enums§

DirectiveAst
OnlyError
Host-facing application error.
ShellKind

Functions§

build_cli
Builds the full dynamic CLI from a parsed semantic document.
build_execution_plan
Builds an execution plan for the requested CLI invocation from raw source text.
build_execution_plan_in_dir
Builds an execution plan for the requested CLI invocation from raw source text and working directory.
build_global_cli
Builds the global CLI skeleton shared by bootstrap and dynamic help.
compile_for_cli
Compiles in-memory source text for CLI execution.
compile_for_cli_input
Compiles in-memory source text for a concrete CLI target using the new semantic/engine path.
compile_for_cli_input_in_dir
Compiles in-memory source text for a concrete CLI target using an explicit working directory.
discover_onlyfile
Discovers and reads the target Onlyfile.
load_onlyfile
Loads and parses the requested Onlyfile.
parse_onlyfile
Parses Onlyfile source text into the current semantic document.
render_available_tasks
Renders the compact task list shown by only with no task target.
render_error_message
Renders the top-level host error message.
render_global_help
Renders bootstrap help used before Onlyfile discovery succeeds.
render_help
Renders dynamic help from a parsed semantic document.
render_help_hint
Renders the generic help hint shown after discovery failures.
render_namespace_help
Renders help for a group and all of its child tasks.
run
Runs the default CLI entry point with two-phase parsing.
run_plan
Runs the resolved execution plan.
run_with
Runs the application with pre-parsed CLI input.
version_string
Returns the published CLI version string.

Type Aliases§

Result