Documentation
¶
Overview ¶
Binary sku is the agent-friendly cloud & LLM pricing CLI.
Keeping main.go at the module root makes `go install github.com/sofq/sku@latest` work without a `/cmd/sku` path suffix. All logic lives in cmd/sku.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
sku
Package sku wires the Cobra command tree for the sku CLI.
|
Package sku wires the Cobra command tree for the sku CLI. |
|
internal
|
|
|
batch
Package batch provides the in-process handler registry and NDJSON/array dispatcher that powers `sku batch`.
|
Package batch provides the in-process handler registry and NDJSON/array dispatcher that powers `sku batch`. |
|
catalog
Package catalog provides a read-only view over a sku SQLite shard.
|
Package catalog provides a read-only view over a sku SQLite shard. |
|
compare
Package compare composes cross-provider equivalence queries over multiple catalog shards.
|
Package compare composes cross-provider equivalence queries over multiple catalog shards. |
|
compare/kinds
Package kinds contains per-kind equivalence queries used by internal/compare.
|
Package kinds contains per-kind equivalence queries used by internal/compare. |
|
config
Package config parses ~/.config/sku/config.yaml (or platform equivalent) and exposes the merged Profile struct.
|
Package config parses ~/.config/sku/config.yaml (or platform equivalent) and exposes the merged Profile struct. |
|
errors
Package errors implements the spec §4 error envelope + exit-code taxonomy.
|
Package errors implements the spec §4 error envelope + exit-code taxonomy. |
|
estimate
Package estimate turns workload declarations into line-item costs.
|
Package estimate turns workload declarations into line-item costs. |
|
output
Package output renders catalog.Row values into the spec §4 JSON envelope.
|
Package output renders catalog.Row values into the spec §4 JSON envelope. |
|
schema
Package schema holds shared data-schema primitives used by both the catalog reader and (eventually) code-generated clients.
|
Package schema holds shared data-schema primitives used by both the catalog reader and (eventually) code-generated clients. |
|
updater
Package updater downloads and installs pricing shards.
|
Package updater downloads and installs pricing shards. |
|
version
Package version exposes build-time metadata injected by goreleaser via -ldflags.
|
Package version exposes build-time metadata injected by goreleaser via -ldflags. |
Click to show internal directories.
Click to hide internal directories.