14 lines
247 B
Go
14 lines
247 B
Go
|
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
|
||
|
}
|