diff --git a/internal/commands/issues/completion.go b/internal/commands/issues/completion.go index a363235..0a532e1 100644 --- a/internal/commands/issues/completion.go +++ b/internal/commands/issues/completion.go @@ -10,7 +10,7 @@ import ( // Variables for completion options and functions. var ( - typeOptions = []string{"bug", "feature", "task"} + typeOptions = []string{"bug", "feature", "task", "chore"} statusOptions = []string{"open", "closed", "in_progress"} priorityRange = []string{"0", "1", "2", "3", "4"} ) diff --git a/pkg/repl/suggestions.go b/pkg/repl/suggestions.go index e66fbc4..07e36a6 100644 --- a/pkg/repl/suggestions.go +++ b/pkg/repl/suggestions.go @@ -22,20 +22,18 @@ var rootSuggestions = []prompt.Suggest{ // commandSuggestions is a list of prompt suggestions for PM commands. var baseSuggestions = []prompt.Suggest{ {Text: "help", Description: "Show help information"}, - {Text: "status", Description: "Show task status"}, - {Text: "delete", Description: "Delete an issue by ID"}, - {Text: "close", Description: "Close an issue by ID"}, {Text: "create", Description: "Create a new issue with title"}, - {Text: "update", Description: "Update an existing issue by ID"}, {Text: "describe", Description: "Get issue details by ID"}, {Text: "list", Description: "List all issues"}, + {Text: "close", Description: "Close an issue by ID"}, + {Text: "update", Description: "Update an existing issue by ID"}, + {Text: "delete", Description: "Delete an issue by ID"}, {Text: "comment", Description: "Add a comment on an issue by ID"}, {Text: "comments", Description: "List comments on an issue by ID"}, } // createFlags is a list of prompt suggestions for the create command flags. var createFlags = []prompt.Suggest{ - {Text: "--interactive", Description: "Create issue interactively"}, {Text: "--desc", Description: "Issue description"}, {Text: "--status", Description: "Issue status (open, closed, in_progress)"}, {Text: "--type", Description: "Issue type (bug, feature, task)"}, @@ -60,8 +58,8 @@ var listFlags = []prompt.Suggest{ {Text: "--status", Description: "Filter by status (open, closed, in_progress)"}, {Text: "--type", Description: "Filter by type (bug, feature, task)"}, {Text: "--priority", Description: "Filter by priority (0-4)"}, - {Text: "--limit", Description: "Limit number of results"}, {Text: "--assignee", Description: "Filter by assignee"}, + {Text: "--limit", Description: "Limit number of results"}, } var deleteFlags = []prompt.Suggest{