cmd

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Dir = &cli.StringFlag{
		Name:    "dir",
		Aliases: []string{"D"},
		Usage:   "migration file location",
	}

	MigrateName = &cli.StringFlag{
		Name:     "name",
		Aliases:  []string{"N"},
		Usage:    "migration file name",
		Required: true,
	}
)
View Source
var NewMigrate = &cli.Command{
	Name:         "create",
	Usage:        "create migrate file",
	Description:  "Creates a new migration file with test data.",
	BashComplete: cli.DefaultAppComplete,
	Action:       newMigrateAction,
	Flags:        []cli.Flag{MigrateName, Dir},
}
View Source
var Version = &cli.Command{
	Name:         "version",
	Usage:        "cli version",
	Description:  "getting application version",
	BashComplete: cli.DefaultAppComplete,
	Action:       actionVersion,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL