mirror of
https://github.com/Fission-AI/OpenSpec.git
synced 2026-09-14 20:16:53 +08:00
653 B
653 B
Add Status Command to OpenSpec CLI
Why
Developers need to know which changes have all tasks completed and are ready to archive.
What Changes
- Add
openspec statuscommand that scans the changes/ directory - Parse each tasks.md file to count
[x](complete) and[ ](incomplete) tasks - Display each change with its completion status (e.g., "auth-feature: 5/5" or "auth-feature: ✓")
- Skip the archive/ subdirectory
Impact
- Affected specs: New capability
cli-statuswill be added - Affected code:
src/cli/index.ts- Add status commandsrc/core/status.ts- New file with simple scanning and parsing logic (~50 lines)