Class CommandMethods

java.lang.Object
org.jline.console.CommandMethods

public class CommandMethods extends Object
Class that encapsulates the execution and completion methods for a command.

CommandMethods provides a way to associate a command execution function with a completer compilation function. This allows commands to be registered with both their execution logic and their completion logic in a single object.