Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGlobalConfigPath ¶ added in v1.2.0
GetGlobalConfigPath returns the full path to the global config file
func GetGlobalFolderPath ¶ added in v1.2.0
GetGlobalFolderPath returns the path to the config folder
func NewGlobalConfigManager ¶ added in v1.2.0
func NewGlobalConfigManager(cmd *cobra.Command) (*shared.BaseConfigManager[GlobalConfig], error)
NewGlobalConfigManager creates a new global configuration manager using BaseConfigManager
Types ¶
type CloudflareConfig ¶
type CloudflareConfig struct {
Token string `mapstructure:"token" yaml:"token"`
}
CloudflareConfig holds Cloudflare-specific configuration
type GlobalConfig ¶ added in v1.2.0
type GlobalConfig struct {
Cloudflare CloudflareConfig `mapstructure:"cloudflare" yaml:"cloudflare"`
}
GlobalConfig represents the main configuration structure
func GetDefaultConfig ¶ added in v1.2.0
func GetDefaultConfig() *GlobalConfig
GetDefaultConfig returns the default global configuration
Click to show internal directories.
Click to hide internal directories.