Skip to content

Commit

Permalink
Add manage as an alias for add
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Feb 4, 2019
1 parent e47c444 commit 6075a02
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cmd/add.go
Expand Up @@ -12,10 +12,11 @@ import (
)

var addCmd = &cobra.Command{
Use: "add targets...",
Args: cobra.MinimumNArgs(1),
Short: "Add an existing file, directory, or symlink to the source state",
RunE: makeRunE(config.runAddCmd),
Use: "add targets...",
Aliases: []string{"manage"},
Args: cobra.MinimumNArgs(1),
Short: "Add an existing file, directory, or symlink to the source state",
RunE: makeRunE(config.runAddCmd),
}

type addCmdConfig struct {
Expand Down

0 comments on commit 6075a02

Please sign in to comment.