Documentation
¶
Overview ¶
Package config reads and writes ~/.config/claude-usage/config.toml.
Missing config file is not an error — defaults are returned. Writes create the directory if needed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
PollIntervalSeconds int `toml:"poll_interval_seconds"`
WarnThreshold int `toml:"warn_threshold"`
AlertThreshold int `toml:"alert_threshold"`
Notify bool `toml:"notify"`
OrgID string `toml:"org_id"`
// LastSeenVersion is the version string the user has already
// been welcomed for. When the running binary's version differs
// (fresh install, upgrade) the CLI prints a one-shot welcome
// banner and persists the new value.
LastSeenVersion string `toml:"last_seen_version,omitempty"`
}
Config holds user-tunable knobs.
Click to show internal directories.
Click to hide internal directories.