Skip to main content Module cli Copy item path Source ApCoreExecutorAdapter Adapter that implements ModuleExecutor for the real apcore::Executor. GroupedModuleGroup Grouped command registry: organises modules into sub-command groups
derived from dotted module IDs or explicit display overlay metadata. LazyModuleGroup Lazy command registry: builds module subcommands on-demand from the
apcore Registry, caching them after first construction. CliError Errors produced by CLI dispatch operations. BUILTIN_COMMANDS Built-in command names that are always present regardless of the registry. ModuleExecutor Minimal executor interface required by LazyModuleGroup. 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 STDIN JSON. 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.