A simple shell for invoking commands from a command-line.
Type | Name and description |
---|---|
private IO |
io |
private CommandRegistry |
registry |
Type Params | Return Type | Name and description |
---|---|---|
|
Object |
execute(String line) |
|
CommandLine.Command |
findCommand(String line, List parsedArgs)
|
|
boolean |
isExecutable(String line) |
|
Object |
leftShift(String line) this should probably be deprecated |
|
CommandLine.Command |
leftShift(CommandLine.Command command) |
|
CommandLine.Command |
register(CommandLine.Command command) |
line
- the line to parseparsedArgs
- accumulate the rest of the line after the commandCopyright © 2003-2020 The Apache Software Foundation. All rights reserved.