/********************************************************************* * * * 帮助命令 * 创建时间: 2021-05-31 * 作者: 孟凯伦 * * **********************************************************************/ import { Command as CommandType } from "commander"; import ICommand from "../core/iCommand"; import Command from "../core/commandDecorate"; @Command("--help", "-h") export default class implements ICommand { public Description(): string { return "Print description information"; } public async Action(program: CommandType): Promise { program.help(); } }