dthree/vorpal

.catch should not trigger on a command group

オープン

#64 opened on 2015/12/21

 (2 件のコメント) (1 件のリアクション) (0 人の担当者)JavaScript (277 件のフォーク)batch import
bughelp wanted

Repository metrics

Stars
 (5,625 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド