Interface CommandRegistry

All Known Subinterfaces:
ConsoleEngine, SystemRegistry
All Known Implementing Classes:
AbstractCommandRegistry, Builtins, ConsoleEngineImpl, DefaultPrinter, JlineCommandRegistry, SimpleSystemRegistryImpl, SystemRegistryImpl

public interface CommandRegistry
Interface for registering, describing, and executing commands in a console application.

The CommandRegistry provides methods for managing a set of commands, including:

  • Registering commands and their aliases
  • Providing command descriptions and usage information
  • Executing commands with arguments
  • Creating command completers for tab completion

Implementations of this interface can be used to create custom command registries for specific domains or applications.