Documentation ¶
Overview ¶
Package cli contains telemetry functions regarding the collection of data in the CLI. Should be imported as cli_telemetry.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option is an option for the CLI telemetry.
func WithCLITarget ¶
WithCLITarget defines the URL to which the CLI data will be sent.
type Task ¶
Task is a small task that sends telemetry data once a day.
func NewCLITelemetry ¶
NewCLITelemetry returns a wrapper that contains the necessary methods to collect and send telemetry data regarding CLI usage.
Click to show internal directories.
Click to hide internal directories.