chore(output): Version should be printed in stdout

It seems that "println" failed to write on stdout
This commit is contained in:
2024-11-26 17:45:42 +01:00
parent b63d8e4210
commit 921eaff367

View File

@@ -233,7 +233,7 @@ func generateVersionCommand() *cobra.Command {
Use: "version",
Short: "Print the version number of Katenary",
Run: func(cmd *cobra.Command, args []string) {
println(generator.GetVersion())
fmt.Println(generator.GetVersion())
},
}
}