gouick/cmd/generateHelp.go
Matthieu 'JP' DERASSE 5f4e7e5be6
All checks were successful
continuous-integration/drone/push Build is passing
fix(global): Multiple small fixes and upgrade of go + goswagger
2022-11-21 18:40:39 +00:00

25 lines
385 B
Go

/*
Copyright © 2022 Matthieu Derasse <git@derasse.fr>
*/
package cmd
import (
"github.com/spf13/cobra"
)
// helpCmd represents the help command.
var helpCmd = &cobra.Command{
Use: "help",
Short: "Show that help",
Run: func(cmd *cobra.Command, args []string) {
err := generateCmd.Help()
if err != nil {
return
}
},
}
func init() {
generateCmd.AddCommand(helpCmd)
}