16 lines
245 B
Go
16 lines
245 B
Go
package commands
|
|
|
|
import (
|
|
"gitlab.com/revalus/grm/internal/config"
|
|
)
|
|
|
|
type Command interface {
|
|
Command(repoCfg config.RepositoryConfig) CommandStatus
|
|
}
|
|
type CommandStatus struct {
|
|
Name string
|
|
Changed bool
|
|
Message string
|
|
Error bool
|
|
}
|