feat: add shell completions, command grouping, and dynamic completions

Add completion command for bash/zsh/fish/powershell generation. Organize
help text using Cobra command groups (Task Commands, Reports, Other).
Register dynamic ValidArgsFunction on filter-accepting commands to
suggest +tag and project:name completions from the database.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-19 13:59:21 +01:00
parent 32cc05a546
commit feb5406077
6 changed files with 139 additions and 7 deletions
+1
View File
@@ -49,6 +49,7 @@ Examples:
}
func init() {
setupCmd.GroupID = "other"
rootCmd.AddCommand(setupCmd)
setupCmd.Flags().BoolVar(&showSystemdFlag, "show-systemd", false, "Show systemd service template")