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:
Andrew Eisenberg 2021-05-31 11:14:03 -07:00
parent 4b4a5ee9d1
commit 539d968ad7
18 changed files with 4114 additions and 2724 deletions

1810
node_modules/commander/lib/command.js generated vendored Normal file

File diff suppressed because it is too large Load diff