feat: add 'rm' as alias for 'dep remove' (bd-oehv)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user