24 lines
480 B
Go
24 lines
480 B
Go
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"`
|
|
}
|
|
|
|
type CliArguments struct {
|
|
ConfigurationFile string
|
|
Sync bool
|
|
Status bool
|
|
Version bool
|
|
Color bool
|
|
LimitName string
|
|
LimitTags []string
|
|
}
|