cmd-ts
cmd-ts copied to clipboard
Public option to parse arguments without calling handler?
I'd like to write regression tests for my command to test how arguments are parsed, required, and how the help message prints.
I see run, runSafely, and dryRun but all three call the handler.
Was also looking at this, and am wondering if you found any solution. I opened a PR in https://github.com/Schniz/cmd-ts/pull/154 with a quick solution to this.
@ldub It would be great if we exposed the type for ParsingResult.