mirror of
https://github.com/Fission-AI/OpenSpec.git
synced 2026-09-14 20:16:53 +08:00
905 B
905 B
Design: Verb–Noun CLI Structure Adoption
Overview
We will make verb commands (list, show, validate, diff, archive) the primary interface and keep noun commands (spec, change) as deprecated aliases for one release.
Decisions
- Keep routing centralized in
src/cli/index.ts. - Add
--specs/--changestoopenspec list, with--changesas default. - Show deprecation warnings for
openspec change listand, more generally, for anyopenspec change ...andopenspec spec ...subcommands. - Do not change
show/validatebehavior beyond help text; they already support--typefor disambiguation.
Backward Compatibility
All noun-based commands continue to work with clear deprecation warnings directing users to verb-first equivalents.
Out of Scope
JSON output parity for openspec list across modes and show --specs/--changes discovery are follow-ups.