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

13
commands/command.go Normal file
View file

@ -0,0 +1,13 @@
package commands
import "gitlab.com/revalus/grm/config"
type Command interface {
Command(repoCfg config.RepositoryConfig, cmdStatus chan CommandStatus)
}
type CommandStatus struct {
Name string
Changed bool
Message string
Error bool
}