Add sync command

This commit is contained in:
Mikołaj Pęczkowski 2021-11-02 19:19:31 +01:00
commit 5e6a5e23fd
18 changed files with 1077 additions and 0 deletions

19
config/structures.go Normal file
View file

@ -0,0 +1,19 @@
package config
type Configuration struct {
Workspace string
Repositories []RepositoryConfig
}
type RepositoryConfig struct {
Name string `yaml:",omitempty"`
Src string `yaml:",omitempty"`
Dest string `yaml:",omitempty"`
}
type CliArguments struct {
ConfigurationFile string
Sync bool
Version bool
Color bool
}