Documentation ¶
Overview ¶
Package cobrax contains helpers to use with github.com/spf13/cobra.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRequireFlagOrCommand = errors.New("require flag or command")
)
Errors.
Functions ¶
func NewGooseMySQLCmd ¶ added in v1.3.0
func NewGooseMySQLCmd(ctx context.Context, goose *goosepkg.Instance, getCfg func() (*GooseMySQLConfig, error)) *cobra.Command
NewGooseMySQLCmd creates new goose command executed by run.
Types ¶
type GooseMySQLConfig ¶ added in v1.3.0
GooseMySQLConfig contain configuration for goose command.
Click to show internal directories.
Click to hide internal directories.