You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2025. It is now read-only.
Flags are specific characters that start with '-'
and can be used to modify the execution of the command syntax
Creating and registering your own flags
commandManager.flagRegistry().registerFlag(
FlagInfo.builder("silent")
.info(newInformation("flag.silent", "Silently do things !"))
.aliases("s", "sN")
.build());
First parameter in info() is the permission of the flag, while
the second one is for the description of the flag
You can specify an alias of the flag which will be used to detect the usage of that flag.