Versions in this module Expand all Collapse all v0 v0.0.7 May 3, 2024 Changes in this version + const AppIDFlagName + const AppName + const ConfigDir + const ConfigFlagName + const LevelFlagName + const PrivateKeyFlagName + const WorkDirFlagName + func DefaultConfigFile() string + func InitViper(cmd *cobra.Command) error + type Config struct + APIVersion string + GitHub *GitHubConfig + Kind string + Logging *Logging + WorkDir string + func GetConfig() *Config + func (c *Config) GetConfigDir() string + func (c *Config) GetLogLevel() string + func (c *Config) GetWorkDir() string + func (c *Config) IsValid() []string + func (c *Config) Write(cfgFile string) error + type GitHubConfig struct + AppID int64 + PrivateKey string + type Logging struct + Level string