Skip to content

Commit

Permalink
added args
Browse files Browse the repository at this point in the history
  • Loading branch information
vvalerio-priv committed Feb 29, 2024
1 parent 52792f1 commit 4d0c6bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ var rootCmd = &cobra.Command{
Long: `EPOS Open Source CLI installer to deploy the EPOS System using docker-compose`,
}

func Execute() error {
func Execute(args []string) error {
getLastTag()
if args != nil {
rootCmd.SetArgs(args)
}
err := rootCmd.Execute()
if err != nil {
printError("Error on executing rootCMD, cause: " + err.Error())
Expand Down

0 comments on commit 4d0c6bb

Please sign in to comment.