pkger/cmd/pkger/command.go

18 lines
188 B
Go
Raw Normal View History

2019-08-30 05:30:00 +03:00
package main
import "flag"
type command interface {
Name() string
execer
flagger
}
type execer interface {
Exec([]string) error
}
type flagger interface {
Flags() *flag.FlagSet
}