Skip to content

Features Overview: apcore-cli

apcore-cli exposes apcore modules as CLI subcommands through a layered architecture of 15 features. The core execution path runs: Core Dispatcher (FE-01) → Schema Parser (FE-02) → Approval Gate (FE-03) → Security Manager (FE-05). Module discovery is handled by Discovery (FE-04) with Grouped Commands (FE-09) for namespace organisation, Exposure Filtering (FE-12) for business-module access control, and Built-in Command Group (FE-13) to relocate apcore-cli-provided commands under a reserved apcli namespace. Output is managed by Output Formatter (FE-08) and extended by Usability Enhancements (FE-11). Shell integration (FE-06), configuration (FE-07), and scaffolding (FE-10, Init Command) round out the feature set. ACL Governance (FE-14) attaches an apcore ACL to the CLI's executor and makes it inspectable, and OpenAPI Import (FE-15) turns an OpenAPI document into modules through apcore-toolkit.

For the full feature list, implementation order, and dependency graph, see the Project Manifest.


Feature Specifications

ID Feature Spec
FE-01 Core Dispatcher core-dispatcher.md
FE-02 Schema Parser schema-parser.md
FE-03 Approval Gate approval-gate.md
FE-04 Discovery discovery.md
FE-05 Security Manager security.md
FE-06 Shell Integration shell-integration.md
FE-07 Config Resolver config-resolver.md
FE-08 Output Formatter output-formatter.md
FE-09 Grouped Commands grouped-commands.md
FE-10 Init Command init-command.md
FE-11 Usability Enhancements (v0.6.0) usability-enhancements.md
FE-12 Module Exposure Filtering (v0.7.0) exposure-filtering.md
FE-13 Built-in Command Group (apcli) (v0.7.0) builtin-group.md
FE-14 ACL Governance (v0.12.0) acl-governance.md
FE-15 OpenAPI Import — FE-15a scan/generate (v0.12.0); FE-15b execution deferred openapi-import.md

Upstream References

Document Location
Tech Design v2.0 docs/tech-design.md
SRS v0.1 docs/srs.md
Project Manifest docs/project-apcore-cli.md