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 b6803ed01c
commit 46d6748f31
25 changed files with 60 additions and 47 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) {