Expand description
I/O and command execution for the toargv configuration-to-arguments CLI.
build_arguments loads a TOML or JSON configuration, parses an argv
template, and expands it into an ordered argument vector. The remaining
helpers render or execute that vector.
Re-exports§
pub use error::Error;pub use execute::execute;pub use load::load_config;
Modules§
- cli
- Command-line parsing and resolved output modes.
- error
- Errors returned by loading, rendering, and execution.
- execute
- Direct process execution without a shell.
- expand
- Argument expansion from configuration values.
- load
- Configuration loading.
- template
- Template parsing and expansion re-exported from
toargv_template.
Structs§
- Template
- A validated, ordered argv template.
Functions§
- build_
arguments - Loads a configuration, parses an argv template, and expands its arguments.
- expand
- Expands a validated template against a JSON-compatible configuration tree.
- full_
argv - Concatenates a command prefix with expanded arguments, matching the argv
executespawns. - render_
shell - Renders an argument vector as shell syntax that preserves argument boundaries.