Build the CLI command tree and text/JSON output contract #3
Labels
No labels
area/cli
area/core
area/database
area/indexing
area/query
type/epic
type/feature
type/foundation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
JayKobe6k/ClariTree#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Implement the CLI shell as a thin adapter over the typed application services.
CLI contract
--format <text|json>option; default totext.index new,index update,query lineage, andquery search {value,function,struct,enum}command tree.--index <index-selector>onqueryso every query subcommand shares it.Initial handlers may return a typed unavailable-operation error until their application service lands; they must not contain placeholder domain logic.
Acceptance criteria
--formatworks before or after a subcommand where supported by the parser.Dependencies
Depends on #2 for application request and response types.
index newproject indexing and atomic publication #8