mirror of
https://github.com/Squibid/rph.git
synced 2025-10-20 03:44:04 +00:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
895e8903ce
|
|||
e1609a3bb2
|
|||
a75e49a4df
|
@@ -1,4 +1,4 @@
|
||||
# RPS (Robot Pits Helper)
|
||||
# RPH (Robot Pits Helper)
|
||||
Manage your FRC robot code the UNIX way.
|
||||
|
||||
## Installing
|
||||
|
@@ -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")
|
||||
},
|
||||
|
@@ -11,13 +11,8 @@ import (
|
||||
// vendordeplistCmd represents the vendordep list command
|
||||
var vendordeplistCmd = &cobra.Command{
|
||||
Use: "list",
|
||||
Short: "List out your vendordeps",
|
||||
Long: `A longer description that spans multiple lines and likely contains examples
|
||||
and usage of using your command. For example:
|
||||
|
||||
Cobra is a CLI library for Go that empowers applications.
|
||||
This application is a tool to generate the needed files
|
||||
to quickly create a Cobra application.`,
|
||||
Short: "List out your installed vendordeps",
|
||||
Long: `List out your installed vendordeps.`,
|
||||
Aliases: []string{ "ls" },
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
if !inProjectDir() { return nil }
|
||||
|
Reference in New Issue
Block a user