Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: limit plugin types required
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 28, 2018
1 parent 873e43b commit 309482e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/command.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {IConfig} from './config'
import {IPlugin} from './plugin'

export interface ICachedCommand {
_base: string
Expand All @@ -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<ICommand>
}
Expand Down

0 comments on commit 309482e

Please sign in to comment.