GitRepositoryManager/internal/config/structures.go
Mikołaj Pęczkowski 5445ce1ccf Restructure project directories
Follow the standard of all go projects
2024-01-13 15:39:40 +01:00

27 lines
514 B
Go

package config
type Configuration struct {
Workspace string
Repositories []RepositoryConfig
}
type RepositoryConfig struct {
Name string `yaml:",omitempty"`
Src string
Dest string `yaml:",omitempty"`
Tags []string `yaml:",omitempty"`
Skip bool
}
type CliArguments struct {
ConfigurationFile string
Sync bool
Status bool
Version bool
Color bool
LimitToName string
LimitToTags []string
Routines int
IgnoreSkipped bool
}