frysk.hpd
Class NoOptsCommand
java.lang.Object
frysk.hpd.Command
frysk.hpd.NoOptsCommand
- Direct Known Subclasses:
- ShellCommand
public abstract class NoOptsCommand
- extends Command
Handle commands that should not interpret options.
Method Summary |
(package private) void |
help(CLI cli,
Input input)
Print a full "help" message (syntax and then details) for this
command. |
(package private) void |
interpret(CLI cli,
Input input)
Treat option help as special case. |
(package private) abstract void |
interpretCommand(CLI cli,
Input input)
Interpret commands. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
syntax
private final String syntax
full
private final String full
NoOptsCommand
public NoOptsCommand(String description,
String syntax,
String full)
interpret
void interpret(CLI cli,
Input input)
- Treat option help as special case.
- Specified by:
interpret
in class Command
interpretCommand
abstract void interpretCommand(CLI cli,
Input input)
- Interpret commands.
help
void help(CLI cli,
Input input)
- Description copied from class:
Command
- Print a full "help" message (syntax and then details) for this
command.
- Overrides:
help
in class Command