node icon indicating copy to clipboard operation
node copied to clipboard

util: support negative options for `parseArgs`

Open kylo5aby opened this issue 9 months ago • 8 comments

This PR tries to support negative options like the format --no-foo for parseArgs by adding a flag allowNegative in the config of parseArgs. It works for general CLI flag and options passed to parseArgs .

By default, allowNegative is false in order to bring a breaking change.

Refs: #53095

kylo5aby avatar May 22 '24 18:05 kylo5aby