Add rm as an alias for remove

This commit is contained in:
comp500 2022-08-01 17:10:07 +01:00
parent 1ed323e6c6
commit 5c02b31e20

View File

@ -12,7 +12,7 @@ import (
var removeCmd = &cobra.Command{
Use: "remove",
Short: "Remove a mod from the modpack",
Aliases: []string{"delete", "uninstall"},
Aliases: []string{"delete", "uninstall", "rm"},
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
if len(args[0]) == 0 {