Skip to content

Accumulation of errors for a better message #173

@OlivierHartmann

Description

@OlivierHartmann

Hi,
At parsing step, is it possible, to accumulate the errors, (such as missing required argument or conversion errors, and so on) in order to display all of them at the end at the same time ? For example, returning a big "CLI::ParsingError(error_string)" at the end with an error per line.
In fact, behind the fact that it would be much much easier for the user to have all errors at once, I would like to have the parsing results (I mean, having the option variables filled, at least those given correctly in the command line).
Is it easy to do something like that ?
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions