You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The help command is implemented by passing --help into the subcommand. It was done this way so it could also work with stand-alone external subcommands.
In this example, I'd like to disable impilcit help option and only leave impicit help command.
test.mjs
:If I run
test.mjs
, I getas expected, but if I run
test.mjs help meow
, I get an error:error: unknown option '--help' // what option, I thought I was calling help command?
,while expected outcome would be
The text was updated successfully, but these errors were encountered: