From 6418f12d311c1986643392817d786a02e72509d9 Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdxcode@users.noreply.github.com> Date: Tue, 16 Jan 2018 16:05:11 -0800 Subject: [PATCH] fix: needed changes for loader --- src/command.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/command.ts b/src/command.ts index 16147dbf..a8e3bc29 100644 --- a/src/command.ts +++ b/src/command.ts @@ -1,16 +1,17 @@ import {IConfig} from './config' +import {IPlugin} from './plugin' export interface ICachedCommand { id?: string - hidden: boolean base: string + hidden: boolean aliases: string[] - // help(config: IConfig): string - // helpLine(config: IConfig): [string, string | undefined] - load(): Promise + description: string + usage: string + plugin: IPlugin + help: string } export interface ICommand extends ICachedCommand { - base: '@cli-engine/command@1.0.0' run(argv: string[], config: IConfig): Promise }