mirror of
https://github.com/sbrow/envr.git
synced 2026-02-27 12:01:45 -05:00
fix: Added add as an alias for backup.
This commit is contained in:
@@ -13,9 +13,10 @@ import (
|
|||||||
|
|
||||||
// backupCmd represents the backup command
|
// backupCmd represents the backup command
|
||||||
var backupCmd = &cobra.Command{
|
var backupCmd = &cobra.Command{
|
||||||
Use: "backup <path>",
|
Use: "backup <path>",
|
||||||
Short: "Import a .env file into envr",
|
Short: "Import a .env file into envr",
|
||||||
Args: cobra.ExactArgs(1),
|
Aliases: []string{"add"},
|
||||||
|
Args: cobra.ExactArgs(1),
|
||||||
// Long: `Long desc`
|
// Long: `Long desc`
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
path := args[0]
|
path := args[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user