MCPcopy Create free account
hub / github.com/OverloadBlitz/cloudcent-cli / Config

Struct Config

internal/config/config.go:12–15  ·  view source on GitHub ↗

Config holds CLI authentication credentials.

Source from the content-addressed store, hash-verified

10
11// Config holds CLI authentication credentials.
12type Config struct {
13 CliID string `yaml:"cli_id"`
14 APIKey *string `yaml:"api_key,omitempty"`
15}
16
17// Dir returns ~/.cloudcent, creating it if needed.
18func Dir() (string, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected