GitRepositoryManager/commands/command.go

14 lines
247 B
Go
Raw Permalink Normal View History

2021-11-02 18:19:31 +00:00
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
}