mirror of https://github.com/xrehpicx/pee.git
fix: default run when no command passed
This commit is contained in:
parent
9f5db44a6c
commit
04aa76898a
|
@ -53,7 +53,7 @@ var ListProjects = &cobra.Command{
|
|||
|
||||
var RootCmd = &cobra.Command{
|
||||
Use: "pee",
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
Args: cobra.ExactArgs(1),
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
ExecuteProjectEnv(args[0])
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue