dthree/vorpal

.catch should not trigger on a command group

Aperta

#64 aperta il 21 dic 2015

 (2 commenti) (1 reazione) (0 assegnatari)JavaScript (277 fork)batch import
bughelp wanted

Metriche repository

Star
 (5625 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor