Uses of Class
readycli.CLI
-
Uses of CLI in readycli
Methods in readycli that return CLI Modifier and Type Method Description CLICLI. addCommand(java.lang.String name, Command command)Adds a command to theCLI.static CLICLI. create()Creates a newCLIobject with a null application title and a null command prompt.static CLICLI. create(java.lang.String title)Creates a newCLIobject with a null application title and a null command prompt.static CLICLI. create(java.lang.String title, java.lang.String commandPrompt)Creates a newCLIobject with the given application title and command prompt.CLICLI. removeCommand(java.lang.String name)Removes a command to theCLI.CLICLI. setCommandPrompt(java.lang.String commandPrompt)Sets a new command prompt to show just before theCLIstarts to listen for the next command.CLICLI. setTitle(java.lang.String title)Sets theCLItitle (e.g. the application name and the version).