package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Jan 31, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetAPIKey returns the API key from the config file, or empty string if not set.
Path returns the path to the config file (~/.config/exa/config.yaml)
Save writes the Config struct to the config file.
type Config struct {
APIKey string `yaml:"api_key"`
}
Load reads the config file and returns the Config struct.
Returns an empty Config (not an error) if the file doesn't exist.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.