list: add filter value enums to help

This commit is contained in:
Travis Cline
2025-10-15 14:32:16 -07:00
parent cf8ff4227d
commit 0c3c613890

View File

@@ -63,10 +63,10 @@ var listCmd = &cobra.Command{
} }
func init() { func init() {
listCmd.Flags().StringP("status", "s", "", "Filter by status") listCmd.Flags().StringP("status", "s", "", "Filter by status (open, in_progress, blocked, closed)")
listCmd.Flags().IntP("priority", "p", 0, "Filter by priority") listCmd.Flags().IntP("priority", "p", 0, "Filter by priority (0-4: 0=critical, 1=high, 2=medium, 3=low, 4=backlog)")
listCmd.Flags().StringP("assignee", "a", "", "Filter by assignee") listCmd.Flags().StringP("assignee", "a", "", "Filter by assignee")
listCmd.Flags().StringP("type", "t", "", "Filter by type") listCmd.Flags().StringP("type", "t", "", "Filter by type (bug, feature, task, epic, chore)")
listCmd.Flags().IntP("limit", "n", 0, "Limit results") listCmd.Flags().IntP("limit", "n", 0, "Limit results")
rootCmd.AddCommand(listCmd) rootCmd.AddCommand(listCmd)
} }