Skip to content

Commit 647beaf

Browse files
authored
Merge pull request #46 from avitacco/45/fix-jig-new-module-multiple-args
Fixing arguments parameter for the new module cmd
2 parents 9bf0e08 + 8460d8b commit 647beaf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

commands/new.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func (a *App) newModuleCmd() *cobra.Command {
3434
newModuleCmd := &cobra.Command{
3535
Use: "module <name>",
3636
Short: "Create a new Puppet module",
37-
Args: cobra.ExactArgs(1),
37+
Args: cobra.MinimumNArgs(1),
3838
RunE: func(cmd *cobra.Command, args []string) error {
3939
forgeUser, _ := cmd.Flags().GetString("forge-user")
4040
license, _ := cmd.Flags().GetString("license")

0 commit comments

Comments
 (0)