2021-11-02 18:19:31 +00:00
|
|
|
package commands
|
|
|
|
|
|
|
|
import "gitlab.com/revalus/grm/config"
|
|
|
|
|
|
|
|
type Command interface {
|
2021-11-08 17:30:45 +00:00
|
|
|
Command(repoCfg config.RepositoryConfig) CommandStatus
|
2021-11-02 18:19:31 +00:00
|
|
|
}
|
|
|
|
type CommandStatus struct {
|
|
|
|
Name string
|
|
|
|
Changed bool
|
|
|
|
Message string
|
|
|
|
Error bool
|
|
|
|
}
|