pkger/cmd/pkger/command.go

18 lines
188 B
Go

package main
import "flag"
type command interface {
Name() string
execer
flagger
}
type execer interface {
Exec([]string) error
}
type flagger interface {
Flags() *flag.FlagSet
}