io.vertx.ext.shell.command

## 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 Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static CommandResolver` | `baseCommands(Vertx vertx)`
    `List<Command>` | `commands()`
    `default Command` | `getCommand(String name)` Returns a single command by its name.

- - ### Method Detail

    - #### 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

Copyright © 2016. All rights reserved.