Skip to content

Commit

Permalink
Ensure exactly one argument to get command
Browse files Browse the repository at this point in the history
  • Loading branch information
Crevil committed Oct 2, 2018
1 parent 2db0989 commit 6ffbc53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ type dynamicValue = interface{}
var getCmd = &cobra.Command{
Use: "get [variable]",
Short: "Get a variable value",
Args: cobra.ExactArgs(1),
//Long: ``,
Run: func(cmd *cobra.Command, args []string) {
context := getProjectContext()
Expand Down

0 comments on commit 6ffbc53

Please sign in to comment.