fix(template): add a noop to allow for template generation

This commit is contained in:
2025-10-17 14:50:41 -04:00
parent e1609a3bb2
commit 895e8903ce

View File

@@ -26,6 +26,10 @@ options in using the following flags:
Example:
rph template --lang=java --type=commandbased --dir=MyRobot --team=5438 --desktopSupport=false`,
PersistentPreRun: func(cmd *cobra.Command, args []string) {
// This is a noop to stop the root command from preventing us from making
// a new robot project
},
PreRun: func(cmd *cobra.Command, args []string) {
template.Fetch(false, "keep")
},