Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBackupDir ¶
func GetConfigFile ¶
func SaveConfig ¶
func ValidateConfig ¶ added in v0.4.1
Types ¶
type Config ¶
type Config struct { Username string `mapstructure:"username"` Token string `mapstructure:"token"` Platform string `mapstructure:"platform"` Server Server `mapstructure:"server"` IncludeRepos []string `mapstructure:"include_repos"` ExcludeRepos []string `mapstructure:"exclude_repos"` IncludeOrgs []string `mapstructure:"include_orgs"` ExcludeOrgs []string `mapstructure:"exclude_orgs"` IncludeForks bool `mapstructure:"include_forks"` IncludeWiki bool `mapstructure:"include_wiki"` BackupDir string `mapstructure:"backup_dir"` Workspace string `mapstructure:"workspace"` Cron string `mapstructure:"cron"` CloneType string `mapstructure:"clone_type"` }
func GetInitialConfig ¶ added in v0.11.1
func GetInitialConfig() Config
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.