forked from toolshed/abra
refactor: function rename
`errorExit` renamed to `showSubcommandHelpAndError`
This commit is contained in:
@ -55,7 +55,7 @@ on your $PATH.
|
||||
Action: func(c *cli.Context) error {
|
||||
appType := c.Args().First()
|
||||
if appType == "" {
|
||||
errorExit(c, "new", errors.New("no app type provided"))
|
||||
showSubcommandHelpAndError(c, errors.New("no app type provided"))
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user