Interface Command.Raw

  • All Superinterfaces:
    Command
    Enclosing interface:
    Command

    public static interface Command.Raw
    extends Command
    A raw command that also contains a CommandTreeNode to provide hints to the client for command completion.
    • Method Detail

      • commandTree

        default CommandTreeNode.Root commandTree()
        Gets the CommandTreeNode that represents the argument pattern for this command.

        Defaults to a command with an optional string argument string that is greedy.

        Returns:
        The tree.