Documentation
¶
Overview ¶
Package config handles loading and validating katazuke configuration from files, environment variables, and CLI flag overrides.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ProjectsDir string `yaml:"projects_dir"`
StaleThresholdDays int `yaml:"stale_threshold_days"`
GithubToken string `yaml:"github_token"`
ExcludePatterns []string `yaml:"exclude_patterns"`
Sync SyncConfig `yaml:"sync"`
}
Config holds all katazuke configuration.
type SyncConfig ¶ added in v0.2.0
type SyncConfig struct {
Strategy string `yaml:"strategy"` // "rebase", "merge", or "ff-only"
SkipDirty bool `yaml:"skip_dirty"` // skip dirty repos without merge-tree check
AutoStash bool `yaml:"auto_stash"` // attempt stash/pop for dirty repos
}
SyncConfig holds configuration for the sync command.
Click to show internal directories.
Click to hide internal directories.