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

This commit is contained in:
Squibid 2025-10-17 14:50:41 -04:00
parent e1609a3bb2
commit 895e8903ce
Signed by: squibid
GPG key ID: BECE5684D3C4005D

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")
},