Compare commits

1 Commits

Author SHA1 Message Date
895e8903ce fix(template): add a noop to allow for template generation 2025-10-17 14:50:41 -04:00

View File

@@ -26,6 +26,10 @@ options in using the following flags:
Example: Example:
rph template --lang=java --type=commandbased --dir=MyRobot --team=5438 --desktopSupport=false`, 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) { PreRun: func(cmd *cobra.Command, args []string) {
template.Fetch(false, "keep") template.Fetch(false, "keep")
}, },