public interface CommandInterface
CommandInterpreter
Modifier and Type | Method and Description |
---|---|
java.lang.String |
execute(CommandInterpreter ci,
java.lang.String[] args)
Execute the given command.
|
java.lang.String |
getHelp()
Returns a one line description of the command
|
java.lang.String execute(CommandInterpreter ci, java.lang.String[] args)
ci
- the command interpretere that invoked this command.args
- command line arguments (just like main).java.lang.String getHelp()