Add alias for new command

This commit is contained in:
Adrian Macneil 2016-08-07 23:25:35 -07:00
parent 1fecc07f5c
commit b2ca8aad36

View file

@ -41,9 +41,10 @@ func NewApp() *cli.App {
app.Commands = []cli.Command{
{
Name: "new",
Usage: "Generate a new migration file",
Action: NewCommand,
Name: "new",
Aliases: []string{"n"},
Usage: "Generate a new migration file",
Action: NewCommand,
},
{
Name: "up",