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
.command("* [source]",__`Process HTML input`,(yargs)=>{yargs.positional("source",{desc: __`A file, an http(s) URL, or '-' for standard input`,type: "string"});})
With --help I get this:
index.js [source]
Process HTML input
Позиційні:
source A file, an http(s) URL, or '-' for standard input [строка]
But with an explicit call to showHelp() I only get this:
index.js [source]
Process HTML input
Позиційні:
source [строка]
(I explicitly call showHelp() whenever there is no [source] argument, and nothing is piped into stdin)
Tested with yargs 17.0.0-candidate.11, link to my full source code is here in case that matters.
The text was updated successfully, but these errors were encountered:
As the title suggests:
With --help I get this:
But with an explicit call to
showHelp()
I only get this:(I explicitly call showHelp() whenever there is no [source] argument, and nothing is piped into stdin)
Tested with yargs 17.0.0-candidate.11, link to my full source code is here in case that matters.
The text was updated successfully, but these errors were encountered: