public class QuickCLIShell extends Object
CommandName [Options]... [Option-Flags]... [Arguments]...where
ls -l fileName
", here fileName is the argument to the ls command Constructor and Description |
---|
QuickCLIShell(String name,
String description) |
Modifier and Type | Method and Description |
---|---|
static ConsoleWriter |
getWriter()
Resturn the instance of ConsoleWriter.
|
void |
scanCommands(Class<?>... classesToBeScanned)
Scans the classes for commands and does the necessary initializing for the shell application.
|
void |
start()
Starts the Shell application
|
String |
toString() |
public void start()
public void scanCommands(Class<?>... classesToBeScanned)
classesToBeScanned
- public static ConsoleWriter getWriter()
Copyright © 2015. All rights reserved.