You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
443 B
21 lines
443 B
package command;
|
|
|
|
import controller.CrawlerController;
|
|
|
|
public class HelpCommand implements Command {
|
|
private CrawlerController controller;
|
|
|
|
public HelpCommand(CrawlerController controller) {
|
|
this.controller = controller;
|
|
}
|
|
|
|
@Override
|
|
public void execute() {
|
|
controller.getView().showHelp();
|
|
}
|
|
|
|
@Override
|
|
public String getDescription() {
|
|
return "显示帮助信息";
|
|
}
|
|
}
|
|
|