Interface CommandResolver

All Known Subinterfaces:
CommandRegistry
All Known Implementing Classes:
BaseCommandPack

public interface CommandResolver
A resolver for commands, so the shell can discover commands.
Author:
Julien Viet
  • Method Details

    • baseCommands

      static CommandResolver baseCommands(Vertx vertx)
      Returns:
      the base commands of Vert.x Shell.
    • commands

      List<Command> commands()
      Returns:
      the current commands
    • getCommand

      default Command getCommand(String name)
      Returns a single command by its name.
      Parameters:
      name - the command name
      Returns:
      the commad or null