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

Commit

Permalink
fix: added plugin attribute to icommand
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 2, 2018
1 parent 36dfb46 commit 709921b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/command.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as Parser from '@anycli/parser'

import {IConfig} from './config'
import {IPlugin} from './plugin'

export interface ICommandBase {
_base: string
Expand All @@ -27,6 +28,7 @@ export interface IConvertToCachedOptions {
}

export interface ICommand<T = any> extends ICommandBase {
plugin?: IPlugin
flags?: Parser.flags.Input<any>
args?: Parser.args.Input
new (argv: string[], opts: ICommandOptions): T
Expand Down

0 comments on commit 709921b

Please sign in to comment.