Validate

CliValidationErr

The types of errors that might be found in a misconfigured CLI.

validate_cli : CliConfig -> Result {} CliValidationErr

Ensure that a CLI's configuration is valid.

Though the majority of the validation we'd need to do for type safety is rendered unnecessary by the design of this library, there are some things that the type system isn't able to prevent. Here are the checks we currently perform after building your CLI parser: