cli

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

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

func SendNotification(url, text string) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL