Skip to content

Document ability to ignore unknown options/flags #571

@Alkenso

Description

@Alkenso

Different versions of CLI tool may have full of partial set of supported flags and options.
In some cases there is convenient to call such CLI tool with full set of parameters and the tool would parse known ones and ignore unknowns.

After many search attempts I've found that such behaviour may be achieved by using allUnrecognized strategy with @Argument attribute. But that is so not obvious!
I'd like to propose document briefly behaviour in main readme

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions