align better with cli

This commit is contained in:
Robin Olsen
2026-03-11 14:21:36 +01:00
parent 36414142b7
commit 0a004af359
2 changed files with 5 additions and 7 deletions

View File

@@ -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"}
)

View File

@@ -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{