From 309482eabb1073f793a403d2b3bdc02133149fad Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdxcode@users.noreply.github.com> Date: Sun, 28 Jan 2018 10:17:30 -0800 Subject: [PATCH] fix: limit plugin types required --- src/command.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/command.ts b/src/command.ts index c3074bbd..61dbc668 100644 --- a/src/command.ts +++ b/src/command.ts @@ -1,5 +1,4 @@ import {IConfig} from './config' -import {IPlugin} from './plugin' export interface ICachedCommand { _base: string @@ -8,7 +7,13 @@ export interface ICachedCommand { aliases: string[] description?: string usage?: string - plugin?: IPlugin + plugin?: { + name: string + version: string + type: string + root: string + tag?: string + } help?: string load(): Promise }