Merged
Conversation
Add `ty completion [bash|zsh|fish|powershell]` command using Cobra's built-in shell completion support. Includes dynamic completions for: - Task IDs (with status and title descriptions) - Project names (for args and --project flag) - Task statuses (for `status` command and --status flag) - Task types (for args and --type flag) - Executor names (for --executor flag) - Setting keys (for `settings set` command) Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Keep both the new serve command from main and the completion command from this branch. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ty completion [bash|zsh|fish|powershell]command for generating shell completion scriptsValidArgsFunctionon all commands that accept task IDs, project names, type names, or setting keys--project,--type,--executor, and--statusflags on create, list, and update commandsTest plan
go build,go vetcleangoimportsformatting verifiedsource <(ty completion zsh)then verify tab completion works for commands, task IDs, flags🤖 Generated with Claude Code