dthree/vorpal

.catch should not trigger on a command group

Open

#64 opened on Dec 21, 2015

 (2 comments) (1 reaction) (0 assignees)JavaScript (277 forks)batch import
bughelp wanted

Repository metrics

Stars
 (5,626 stars)
PR merge metrics
 (No merged PRs in 30d)

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