chore(output): Version should be printed in stdout
It seems that "println" failed to write on stdout
This commit is contained in:
@@ -233,7 +233,7 @@ func generateVersionCommand() *cobra.Command {
|
|||||||
Use: "version",
|
Use: "version",
|
||||||
Short: "Print the version number of Katenary",
|
Short: "Print the version number of Katenary",
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
println(generator.GetVersion())
|
fmt.Println(generator.GetVersion())
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user