Skip to content

Commit cf363ab

Browse files
author
Spencer Brower
committed
fix: Added add as an alias for backup.
1 parent d3dbf2a commit cf363ab

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cmd/backup.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ import (
1313

1414
// backupCmd represents the backup command
1515
var backupCmd = &cobra.Command{
16-
Use: "backup <path>",
17-
Short: "Import a .env file into envr",
18-
Args: cobra.ExactArgs(1),
16+
Use: "backup <path>",
17+
Short: "Import a .env file into envr",
18+
Aliases: []string{"add"},
19+
Args: cobra.ExactArgs(1),
1920
// Long: `Long desc`
2021
RunE: func(cmd *cobra.Command, args []string) error {
2122
path := args[0]

0 commit comments

Comments
 (0)