mirror of
https://github.com/Squibid/rph.git
synced 2025-10-19 19:34:04 +00:00
fix(template): add a noop to allow for template generation
This commit is contained in:
@@ -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")
|
||||
},
|
||||
|
Reference in New Issue
Block a user