clibase
The clibase module provides shared CLI infrastructure for orchestration, flags, command framework, and rendering.
It is the foundation for command execution across eac and other CLI modules.
System Context
Shows how clibase provides CLI infrastructure to command modules.
Container Architecture
High-level view of the clibase framework packages.
Component Architecture
Command Framework
Five-phase command lifecycle (Register, Discover, Resolve, Schedule, Execute).
Orchestrator Components
Parallel execution engine with dependency-aware scheduling.
Flags Components
Composable flag system for consistent CLI interfaces.
Render Components
Structured output rendering (table, JSON, YAML, markdown).
Lock Tracker Components
Distributed lock lifecycle tracking with TTL and stale detection.
Design File
- Location:
specs/clibase/.design/workspace.dsl - Interactive:
eac serve design --module clibase
Key Responsibilities
| Package | Purpose |
|---|---|
| cmdframework | Five-phase command lifecycle and registration |
| orchestrator | Parallel build/test execution with dependency graphs |
| flags | Composable flag definitions for consistent CLI |
| render | Multi-format output rendering |
| registry | Component-to-handler registry |
| services | Shared service container for dependency injection |
| locktracker | Distributed lock lifecycle with TTL cleanup |
Tutorials | How-to Guides | Explanation | Reference
You are here: Reference — information-oriented technical descriptions of the system.