Documentation
¶
Overview ¶
Package cli holds the command implementations that sit over core. The entrypoint in cmd/hebb wires these together with cobra.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute(version string)
Execute builds the root command and runs it, exiting non-zero on error.
func SendNotification ¶ added in v0.4.0
SendNotification POSTs {"text": text} as application/json to url using the notifyClient. It is a single attempt with no retry. The URL and text are never logged. A non-2xx response is an error so callers can choose to log and continue rather than abort their own work.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.