Package commands
Class HelpCommand
java.lang.Object
commands.HelpCommand
- All Implemented Interfaces:
Command
public class HelpCommand extends java.lang.Object implements Command
Command which lists a description of all available commands.
- Author:
- Melvin Campos Casares
-
Constructor Summary
Constructors Constructor Description HelpCommand() -
Method Summary
Modifier and Type Method Description java.lang.Stringdescription()voidexecute()static java.lang.Stringusage()
-
Constructor Details
-
HelpCommand
public HelpCommand()
-
-
Method Details
-
description
public java.lang.String description()- Specified by:
descriptionin interfaceCommand
-
execute
public void execute() -
usage
public static java.lang.String usage()
-