Skip to content

Manual parsing is practically impossible #834

@haji-ali

Description

@haji-ali

According to "Manual Parsing and Testing", I can call parseAsRoot to parse arguments manually, which I am using to create a REPL. However, this is practically unusable since CommandError exceptions are thrown which I have no way of catching except in a generic catch statement. In particular, a helpRequested error is not actionable and I cannot distinguish between a parsing error and other errors.

This is also related to #199 and #198

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions