Flags

Flags is a library for reading user input in an order-independent manner.
Github

The user interface of Flags is similar to most Git commands: --flag or -f (both equivalent).

Codewise, the developer is provided with an immutable Map-like structure for reading flags. You may call get(String flag) to get the value for a flag or isPresent(String flag) to see if a flag is present.