Skip to main content Module cli Copy item path Source CliError Errors produced by CLI dispatch operations. add_dispatch_flags Add the standard dispatch flags (–input, –yes, –large-input, –format,
–sandbox) to a clap Command. Used by both exec_command() and the external
subcommand re-parser in main.rs. build_module_command Build a clap Command for a single module definition. build_module_command_with_limit Build a clap Command for a single module definition with a configurable
help text max length. collect_input Merge CLI keyword arguments with optional JSON input. collect_input_from_reader Inner implementation: accepts any Read source for testability. dispatch_module Execute a module by ID: validate → collect input → validate schema
→ approve → execute → audit → output. exec_command Build the exec clap subcommand. get_docs_url Get the current docs URL (if set). is_verbose_help Check the verbose help flag. reconcile_bool_pairs Reconcile –flag / –no-flag boolean pairs from ArgMatches into bool values. set_audit_logger Set (or clear) the global audit logger used by all module commands. set_docs_url Set the base URL for online documentation links in help and man
pages. Pass None to disable. Command-level help appends
/commands/{name} automatically. set_executables Store the executable map built during module discovery. set_verbose_help Set the verbose help flag. When false, built-in options are hidden
from help. validate_module_id Validate a module identifier. validate_module_id_or_exit Validate a module identifier, exiting on failure.