Add sync command
This commit is contained in:
commit
5e6a5e23fd
18 changed files with 1077 additions and 0 deletions
19
config/structures.go
Normal file
19
config/structures.go
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue