fix: default run when no command passed

This commit is contained in:
raj 2023-10-22 01:33:18 +05:30
parent 9f5db44a6c
commit 04aa76898a
1 changed files with 1 additions and 1 deletions

View File

@ -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])
},