Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LabelSyncConfig ¶
type LabelSyncConfig struct {
Overwrite bool `yaml:"overwrite"`
Prune bool `yaml:"prune"` // Prune deletes labels not in the labels.yml file
DryRun bool `yaml:"dry_run"`
Categories []struct {
Name string `yaml:"name"`
CategoryColor string `yaml:"category_color,omitempty"`
Labels []struct {
Name string `yaml:"name"`
Color string `yaml:"color,omitempty"`
Description *string `yaml:"description,omitempty"`
} `yaml:"labels"`
} `yaml:"categories"`
ExtraLabels []struct {
Name string `yaml:"name"`
Description *string `yaml:"description,omitempty"`
Color string `yaml:"color"`
} `yaml:"extra_labels"`
}
func GetLabelSyncConfig ¶
func GetLabelSyncConfig(logger *slog.Logger) *LabelSyncConfig
Click to show internal directories.
Click to hide internal directories.