package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Aug 2, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package config stores the CLI's local configuration (the API key) in
os.UserConfigDir()/biblioscan/config.json.
Path returns the config file location.
Save writes the config with owner-only permissions (the key is a secret).
type Config struct {
APIKey string `json:"api_key"`
}
Load reads the config; a missing file is not an error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.