mirror of
https://github.com/packwiz/packwiz.git
synced 2025-04-19 21:16:30 +02:00
Add rm as an alias for remove
This commit is contained in:
parent
1ed323e6c6
commit
5c02b31e20
@ -12,7 +12,7 @@ import (
|
|||||||
var removeCmd = &cobra.Command{
|
var removeCmd = &cobra.Command{
|
||||||
Use: "remove",
|
Use: "remove",
|
||||||
Short: "Remove a mod from the modpack",
|
Short: "Remove a mod from the modpack",
|
||||||
Aliases: []string{"delete", "uninstall"},
|
Aliases: []string{"delete", "uninstall", "rm"},
|
||||||
Args: cobra.ExactArgs(1),
|
Args: cobra.ExactArgs(1),
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
if len(args[0]) == 0 {
|
if len(args[0]) == 0 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user