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

Commit

Permalink
fix: needed changes for loader
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 17, 2018
1 parent 26789c4 commit 6418f12
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/command.ts
Original file line number Diff line number Diff line change
@@ -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<ICommand>
description: string
usage: string
plugin: IPlugin
help: string
}

export interface ICommand extends ICachedCommand {
base: '@cli-engine/[email protected]'
run(argv: string[], config: IConfig): Promise<void>
}

0 comments on commit 6418f12

Please sign in to comment.