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
694 B
21 lines
694 B
import java.util.List;
|
|
import java.util.logging.Logger;
|
|
|
|
public class HelpCommand11 implements Command11 {
|
|
private static final Logger logger = Logger.getLogger(HelpCommand11.class.getName());
|
|
|
|
@Override
|
|
public String getName() {
|
|
return "help";
|
|
}
|
|
|
|
@Override
|
|
public void execute(String[] args, List<Article11> articles) {
|
|
logger.info("用户执行 help 命令");
|
|
System.out.println("===== W11 帮助菜单 =====");
|
|
System.out.println("help 查看帮助");
|
|
System.out.println("history 查看命令历史");
|
|
System.out.println("analyze 分析URL链接");
|
|
System.out.println("exit 退出程序");
|
|
}
|
|
}
|