-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
Feature Request: Add Shell Completions for OpenSpec CLI
Use Case
As a new OpenSpec user, I'd love to have shell completions to improve my daily workflow. Currently, I find myself:
- Typing
openspec show <change-name>and having to remember exact change identifiers - Forgetting available options like
--specsfor thelistcommand - Making typos in command names that require re-typing the full command
- Wanting to quickly discover what commands are available without reaching for
--help
Proposed Feature
It would be incredibly helpful if OpenSpec provided shell completions for bash, zsh, and/or fish that could:
- Complete command names -
openspec <tab>shows available commands - Complete options -
openspec list <tab>shows--specsand other options - Complete change names -
openspec show <tab>shows actual changes in my project - Complete spec names - When working with specs, complete existing spec identifiers
Why This Matters
Shell completions would make OpenSpec feel more polished and professional, while significantly reducing friction in daily use. It's especially valuable when:
- Working with multiple changes and needing to reference specific change IDs
- Onboarding new team members who are learning the CLI
- Using OpenSpec frequently throughout the day
- Working in different projects with different change/spec names
TabishB
Metadata
Metadata
Assignees
Labels
No labels