refactor to make cli better and simplify the code

This commit is contained in:
Robin Olsen
2026-03-01 20:42:56 +01:00
parent a266ce5464
commit 9612cb9338
32 changed files with 182 additions and 255 deletions

View File

@@ -20,7 +20,7 @@ pm comment ISSUE-1 LGTM --author alice
pm comment ISSUE-1 -m "Needs review"`
var CommentCmd = &cobra.Command{
Use: "comment [issue ID] [message...]",
Use: "comment [id] [message...]",
Short: "Add a comment on an issue",
Long: `Add a comment on an issue by ID. All arguments after the issue ID form the message (no quotes needed), or use --message.`,
Example: commentCmdExample,