Use commander preAction hook for setMode
Hooks are new to commander v8. We can use hooks to ensure that `setMode` is called before every command is invoked.
This commit is contained in:
parent
4b4a5ee9d1
commit
539d968ad7
18 changed files with 4114 additions and 2724 deletions
1810
node_modules/commander/lib/command.js
generated
vendored
Normal file
1810
node_modules/commander/lib/command.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue