Skip to main content Module cli Copy item path Source ApCoreExecutorAdapter Adapter that implements ModuleExecutor for the real apcore::Executor. 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. 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. 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_executables Store the executable map built during module discovery. validate_module_id Validate a module identifier.