dthree/vorpal

.catch should not trigger on a command group

Open

#64 aperta il 21 dic 2015

Vedi su GitHub
 (2 commenti) (1 reazione) (0 assegnatari)JavaScript (313 fork)batch import
bughelp wanted

Metriche repository

Star
 (5609 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

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