0
0
forked from toolshed/abra

refactor: function rename

`errorExit` renamed to `showSubcommandHelpAndError`
This commit is contained in:
2021-08-02 01:08:17 +01:00
parent 8267d4202b
commit ffd1b3a771
2 changed files with 4 additions and 6 deletions

View File

@ -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
}