Skip to content

Commit

Permalink
Merge pull request #12 from lunarway/fix/missing-argument-panics
Browse files Browse the repository at this point in the history
Ensure exactly one argument to get command
  • Loading branch information
emilingerslev committed Oct 3, 2018
2 parents 218052f + 6ffbc53 commit 94f7736
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 94f7736

Please sign in to comment.