feat: add 'rm' as alias for 'dep remove' (bd-oehv)

This commit is contained in:
Steve Yegge
2025-12-29 17:50:10 -08:00
parent a6b37796d1
commit 4c16895c29

View File

@@ -222,9 +222,10 @@ Examples:
} }
var depRemoveCmd = &cobra.Command{ var depRemoveCmd = &cobra.Command{
Use: "remove [issue-id] [depends-on-id]", Use: "remove [issue-id] [depends-on-id]",
Short: "Remove a dependency", Aliases: []string{"rm"},
Args: cobra.ExactArgs(2), Short: "Remove a dependency",
Args: cobra.ExactArgs(2),
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
CheckReadonly("dep remove") CheckReadonly("dep remove")
ctx := rootCtx ctx := rootCtx