Disable generated by tag

This commit is contained in:
Finn 2021-03-24 20:42:17 -07:00
parent 126b4317ce
commit cf0dab1e0e

View file

@ -37,9 +37,10 @@ var socketPath string
// RootCmd represents the base command when called without any subcommands // RootCmd represents the base command when called without any subcommands
var RootCmd = &cobra.Command{ var RootCmd = &cobra.Command{
Use: "signaldctl", Use: "signaldctl",
Short: "Interact with a running signald instance", Short: "Interact with a running signald instance",
Long: `signaldctl is a command line tool to interact with signald.`, Long: `signaldctl is a command line tool to interact with signald.`,
DisableAutoGenTag: true,
PersistentPreRun: func(cmd *cobra.Command, args []string) { PersistentPreRun: func(cmd *cobra.Command, args []string) {
if socketPath == "" { if socketPath == "" {
socketPath = config.Config.SocketPath socketPath = config.Config.SocketPath