Cleaned up documentation language
This commit is contained in:
@@ -15,16 +15,6 @@ generated help, usage diagnostics, and invocation execution. Reimplementing this
|
||||
generic infrastructure would add work beyond the suite-specific inspection and
|
||||
consistency behavior that motivates the library.
|
||||
|
||||
Cobra and urfave/cli v3 were the finalists. The latter's destination bindings and
|
||||
duplicate controls offered a close fit for the explicit-input model. The author
|
||||
strongly preferred Cobra because of its broader adoption. Familiarity and the
|
||||
availability of contributors who know the framework are useful maintenance
|
||||
considerations across several related applications.
|
||||
|
||||
The selection was based on documentation and API review. Ecosystem adoption is
|
||||
the selection rationale, not evidence that every backend default is an appropriate
|
||||
CommandKit contract.
|
||||
|
||||
## Decision
|
||||
|
||||
Use Cobra with pflag as the sole initial CLI backend. CommandKit translates its
|
||||
@@ -39,10 +29,6 @@ getters stay within CommandKit's internal adapter. Independent consumer framewor
|
||||
use remains application-owned. [ADR 0003](0003-public-facade.md) records the
|
||||
adapter and root-owned public contracts.
|
||||
|
||||
Applications retain process lifecycle and domain execution. ConfigKit and
|
||||
PromptKit retain configuration and inspection semantics. Framework selection
|
||||
does not transfer those responsibilities to Cobra or CommandKit.
|
||||
|
||||
Build fresh backend command/flag state and input storage per invocation. A fresh
|
||||
command tree constructed from registered definitions is the initial approach.
|
||||
CommandKit's tree construction uses registered metadata and leaves acquisition
|
||||
@@ -76,14 +62,7 @@ features do not expand the standard automatically: for example, completion
|
||||
commands remain deferred unless deliberately selected.
|
||||
|
||||
Backend error handling must preserve application outcomes, avoid duplicate
|
||||
diagnostics, and return control to the application's entry point. Native YAML
|
||||
inspection and multi-document scope display remain integration work using the
|
||||
owning libraries. Choosing a framework introduces no JSON report requirement.
|
||||
|
||||
Exact dependency versions and attribution are selected when dependencies are
|
||||
incorporated. Meaningful integration evidence must exercise the real adapter
|
||||
against selected contracts. A dependency update or replacement can change CLI
|
||||
behavior even with unchanged Go signatures and is subject to compatibility policy.
|
||||
diagnostics, and return control to the application's entry point.
|
||||
|
||||
The [architecture policy](../policy/architecture.md) owns normative boundaries.
|
||||
[ADR 0001](0001-command-dispatch-and-inputs.md) records the dispatcher and input
|
||||
|
||||
Reference in New Issue
Block a user