feat: update dep version

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2020-07-01 14:33:16 +08:00
parent 36c9d4ad99
commit 05244f9bef
24 changed files with 59 additions and 46 deletions

View File

@ -47,7 +47,7 @@ export class CommandMap {
}
tabComplate(sender: any, input: string, index?: number): string[] {
if (index == 0) { return Object.keys(this.commands) }
if (index == 0) { return Object.keys(this.commands).concat('help') }
let [command, ...args] = input.split(' ')
let exists = this.commands[command]
if (exists && exists.tabCompleter) {