You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 16, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 16, 2026. It is now read-only.
[FEATURE] Add tab completion for stackql-deploy CLI commands #65
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.
Alternatively, implement a custom completion generator that outputs shell-specific scripts (like stackql-deploy completion bash) similar to kubectl, docker, or terraform.
Additional Context
This feature will streamline developer workflows, reduce typing errors, and align stackql-deploy with modern CLI ergonomics.
Assigning to @claude for implementation.
Implementing Tab Completion for stackql-deploy CLI ✅
I've successfully implemented tab completion for the stackql-deploy CLI commands!
Todo List:
Read CLAUDE.md for repo-specific guidelines
Analyze the CLI framework being used (Click, argparse, etc.)
Examine existing commands and structure
Implement tab completion functionality
Update documentation with setup instructions
Test the implementation
Commit and push changes
What Was Implemented
✨ New completion command that generates shell-specific completion scripts for:
Bash - using _STACKQL_DEPLOY_COMPLETE=bash_source
Zsh - using _STACKQL_DEPLOY_COMPLETE=zsh_source
Fish - using _STACKQL_DEPLOY_COMPLETE=fish_source
PowerShell - using custom completion script
✨ Comprehensive documentation added to README with setup instructions for each shell
✨ Leverages Click's built-in completion system for robust, reliable tab completion
How It Works
Users can now enable tab completion by running:
# Generate completion script for their shell
stackql-deploy completion bash # or zsh, fish, powershell# Or add directly to shell configeval"$(_STACKQL_DEPLOY_COMPLETE=bash_source stackql-deploy)"
This enables tab completion for:
All subcommands: build, test, teardown, info, init, upgrade, shell, completion
All command flags and options
Argument values where applicable
Files Changed
stackql_deploy/cli.py: Added completion command and shell-specific logic
Activity
claude commentedon Oct 11, 2025
Claude finished @jeffreyaven's task —— View job •
claude/issue-65-20251011-0049• Create PR ➔Implementing Tab Completion for stackql-deploy CLI ✅
I've successfully implemented tab completion for the stackql-deploy CLI commands!
Todo List:
What Was Implemented
✨ New
completioncommand that generates shell-specific completion scripts for:_STACKQL_DEPLOY_COMPLETE=bash_source_STACKQL_DEPLOY_COMPLETE=zsh_source_STACKQL_DEPLOY_COMPLETE=fish_source✨ Comprehensive documentation added to README with setup instructions for each shell
✨ Leverages Click's built-in completion system for robust, reliable tab completion
How It Works
Users can now enable tab completion by running:
This enables tab completion for:
build,test,teardown,info,init,upgrade,shell,completionFiles Changed
stackql_deploy/cli.py: Added completion command and shell-specific logicREADME.md: Added comprehensive tab completion documentationfeat: add tab completion support for CLI commands