dthree/vorpal

.catch should not trigger on a command group

Open

#64 opened on Dec 21, 2015

View on GitHub
 (2 comments) (1 reaction) (0 assignees)JavaScript (5,609 stars) (313 forks)batch import
bughelp wanted

Description

when not implementing a catch hook, typing in a command of a group gives you the help for it's subcommands.

if however you implement a catch hook, the catch hook is triggered instead.

I think it would still be useful to show the help for a command group, instead of triggering the catch.

Contributor guide