Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
garminctl
command
Command garminctl is a command-line tool for the Garmin Connect API.
|
Command garminctl is a command-line tool for the Garmin Connect API. |
|
Package commands holds the garminctl command tree.
|
Package commands holds the garminctl command tree. |
|
internal
|
|
|
api
Package api is a thin authenticated HTTP client for raw Garmin Connect requests — the engine behind `garminctl api`, the escape hatch for endpoints the typed surface doesn't wrap.
|
Package api is a thin authenticated HTTP client for raw Garmin Connect requests — the engine behind `garminctl api`, the escape hatch for endpoints the typed surface doesn't wrap. |
|
auth
Package auth stores bot tokens out of plaintext.
|
Package auth stores bot tokens out of plaintext. |
|
config
Package config resolves garminctl's tiny configuration: which profiles (Garmin accounts) exist and which is the default.
|
Package config resolves garminctl's tiny configuration: which profiles (Garmin accounts) exist and which is the default. |
|
garmin
Package garmin wraps llehouerou/go-garmin with keyring-backed sessions and garth token import.
|
Package garmin wraps llehouerou/go-garmin with keyring-backed sessions and garth token import. |
|
store
Package store is a local SQLite cache of daily Garmin metrics, so health data you've fetched stays queryable offline — Garmin Connect is a pull-only REST API with no history export, so garminctl accumulates its own.
|
Package store is a local SQLite cache of daily Garmin metrics, so health data you've fetched stays queryable offline — Garmin Connect is a pull-only REST API with no history export, so garminctl accumulates its own. |
|
update
Package update self-updates the CLI binary from its GitHub releases.
|
Package update self-updates the CLI binary from its GitHub releases. |
|
version
Package version holds build metadata, injected at link time via -ldflags.
|
Package version holds build metadata, injected at link time via -ldflags. |
|
tools
|
|
|
gendocs
command
Command gendocs generates the Markdown command reference under docs/commands from the live cobra tree, so the published docs never drift from the actual CLI surface.
|
Command gendocs generates the Markdown command reference under docs/commands from the live cobra tree, so the published docs never drift from the actual CLI surface. |
Click to show internal directories.
Click to hide internal directories.