GitRepositoryManager/internal/config/structures.go

27 lines
514 B
Go
Raw Normal View History

2021-11-02 18:19:31 +00:00
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
2021-11-02 18:19:31 +00:00
}
type CliArguments struct {
ConfigurationFile string
Sync bool
2021-11-05 17:19:06 +00:00
Status bool
2021-11-02 18:19:31 +00:00
Version bool
Color bool
2021-11-08 17:30:45 +00:00
LimitToName string
LimitToTags []string
Routines int
IgnoreSkipped bool
2021-11-02 18:19:31 +00:00
}