13 lines
133 B
Go
13 lines
133 B
Go
package cmd
|
|
|
|
import "context"
|
|
|
|
type Context struct {
|
|
Debug bool
|
|
context.Context
|
|
}
|
|
|
|
type Cmd interface {
|
|
Run(ctx *Context) error
|
|
}
|