Skip to content

Add @Unmatched annotation for unmatched arguments #253

@remkop

Description

@remkop

Currently unmatched command line arguments, when accepted, are available from the CommandLine instance via the getUnmatchedArguments method. However, the user-defined annotated command object does not have access to the CommandLine instance so it cannot call this method.

The unmatched arguments can be injected into a field annotated with @Unmatched.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions