GitRepositoryManager/internal/commands/command.go
Mikołaj Pęczkowski 5445ce1ccf Restructure project directories
Follow the standard of all go projects
2024-01-13 15:39:40 +01:00

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
}