This commit is contained in:
Michael Hohn
2024-05-08 16:04:59 -07:00
committed by =Michael Hohn
parent 2e258c3b13
commit 0bfa496a25
3 changed files with 4 additions and 71 deletions

View File

@@ -17,9 +17,9 @@ import (
"github.com/spf13/cobra"
)
// startCmd represents the start command
var startCmd = &cobra.Command{
Use: "start",
// StartCmd represents the Start command
var StartCmd = &cobra.Command{
Use: "Start",
Short: "A brief description of your command",
Long: `A longer description that spans multiple lines and likely contains examples
and usage of using your command. For example:
@@ -180,7 +180,7 @@ func MirvaRequest(w http.ResponseWriter, r *http.Request) {
}
func init() {
rootCmd.AddCommand(startCmd)
rootCmd.AddCommand(StartCmd)
// Here you will define your flags and configuration settings.