gouick/cmd/generateHelp.go
Matthieu 'JP' DERASSE 660a4ef162
Some checks failed
continuous-integration/drone/push Build is failing
fix(lint): Continue to apply linter recommandation
2022-08-03 11:17:15 +00:00

26 lines
386 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)
}