-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Feature Description
Enable tab completion for subcommands and flags in the stackql-deploy CLI. This should allow users to partially type a command (e.g. b) and hit [TAB] to autocomplete to the matching subcommand (e.g. build), or cycle through possible completions if multiple matches exist.
The completion should work across supported shells (e.g., bash, zsh, fish, PowerShell) and ideally be registered automatically during installation.
Example(s)
stackql-deploy b[TAB]
# → stackql-deploy build
stackql-deploy bui[TAB]
# → stackql-deploy build
stackql-deploy [TAB]
# → build test teardown....Possible Approaches or Libraries to Consider
- If using Click, leverage its built-in
[shell_complete](https://click.palletsprojects.com/en/latest/shell-completion/)functionality. - If using argparse, integrate with
[argcomplete](https://kislyuk.github.io/argcomplete/). - Alternatively, implement a custom completion generator that outputs shell-specific scripts (like
stackql-deploy completion bash) similar tokubectl,docker, orterraform.
Additional Context
This feature will streamline developer workflows, reduce typing errors, and align stackql-deploy with modern CLI ergonomics.
Assigning to @claude for implementation.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request