analytics

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PostHogKey = ""

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewFromEnv

func NewFromEnv() *Client

func (*Client) ShowNotice added in v0.5.1

func (c *Client) ShowNotice()

ShowNotice prints a one-time telemetry notice to stderr the first time analytics are active. Subsequent calls are no-ops.

func (*Client) TrackCommand

func (c *Client) TrackCommand(command, output string, verbose bool, runErr error, duration time.Duration)

Jump to

Keyboard shortcuts

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