Versions in this module Expand all Collapse all v0 v0.6.0 Apr 18, 2026 Changes in this version + const APITokenSourceConfig + const APITokenSourceEnv + const APITokenSourceNone + func Path() (string, error) + func Save(cfg Config) error + func SetAPIToken(token string) error + func UnsetAPIToken() error + type APIConfig struct + BaseURL string + NotionVersion string + Token string + type APIOverrides struct + BaseURL string + NotionVersion string + Token string + type Config struct + API APIConfig + func Default() Config + func Load() (Config, error) + type LoadedConfig struct + APITokenSource string + Config Config + HasConfigToken bool + Path string + func LoadWithMeta(overrides APIOverrides) (LoadedConfig, error)