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