GitRepositoryManager/config/structures.go

25 lines
503 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 `yaml:",omitempty"`
Dest string `yaml:",omitempty"`
Tags []string `yaml:",omitempty"`
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
2021-11-02 18:19:31 +00:00
}