Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "signaldctl", Short: "Interact with a running signald instance", Long: `signaldctl is a command line tool to interact with signald.`, DisableAutoGenTag: true, PersistentPreRun: func(cmd *cobra.Command, args []string) { if socketPath == "" { socketPath = config.Config.SocketPath } if _, ok := cmd.Annotations[common.AnnotationNoSocketConnection]; ok { return } common.Signald = &signald.Signald{SocketPath: socketPath} if err := common.Signald.Connect(); err != nil { log.Fatal(err) } }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.