dthree/vorpal

.catch should not trigger on a command group

Open

#64 geöffnet am 21. Dez. 2015

Auf GitHub ansehen
 (2 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (313 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (5.609 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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