Annotation Interface RootCommand


@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface RootCommand
Is used to mark the class as a root command (without name). This annotation is required for the class to be registered. If you want to create a command with base name, use Command annotation.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    dev.rollczi.litecommands.strict.StrictMode
    Disables/Enables the strict mode.
  • Element Details

    • strict

      dev.rollczi.litecommands.strict.StrictMode strict
      Disables/Enables the strict mode. If the strict mode is disabled, the method will be executed even if there are too many arguments.
      Default:
      DEFAULT