dthree/vorpal

.catch should not trigger on a command group

Aberta

#64 aberto em 21 de dez. de 2015

 (2 comentários) (1 reação) (0 responsável)JavaScript (277 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (5.625 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador