Skip to content

Validate and update booleans before the minimist parses the args. #3914

@martinlingstuyl

Description

@martinlingstuyl

As written in #3853, the CLI will need to accept the following values as boolean:

Booleans are case-insensitive, and are represented by the following values.
True: 1, yes, true, on
False: 0, no, false, off

Because minimist only accepts true/false, right before minimist parses the args, the boolean options will need to be validated and updatedto true/false. That's the purpose of this issue

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions