NoUnexpectedArguments Annotation

@NoUnexpectedArguments

The @NoUnexpectedArgumentsAnnotation annotation is a Global Restriction. It is applied to classes representing CLIs to indicate that specifying any inputs that are not recognized as options/arguments is considered illegal and should cause parsing to fail.

It can be applied directly to classes that have a @Cli annotation or to @Command classes used with SingleCommand


Improving this Documentation

This documentation is itself open source and lives in GitHub under the docs/ directory.

I am not a professional technical writer and as the developer of this software I can often make assumptions of knowledge that you as a user reading this may not have. Improvements to the documentation are always welcome, if you have suggestions for the documentation please submit pull requests to the main branch.