2021-11-02 18:19:31 +00:00
|
|
|
package commands
|
|
|
|
|
2024-01-13 14:39:40 +00:00
|
|
|
import (
|
|
|
|
"gitlab.com/revalus/grm/internal/config"
|
|
|
|
)
|
2021-11-02 18:19:31 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|