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

Commit

Permalink
fix: set flags/args to parser types
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 1, 2018
1 parent 2fa02b6 commit f2344a8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"read-pkg": "^3.0.0"
},
"devDependencies": {
"@anycli/parser": "^3.0.2",
"@anycli/tslint": "^0.2.1",
"@commitlint/cli": "^6.0.5",
"@commitlint/config-conventional": "^6.0.4",
Expand Down
4 changes: 4 additions & 0 deletions src/command.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import * as Parser from '@anycli/parser'

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

Expand All @@ -17,6 +19,8 @@ export interface ICachedCommand {
}

export interface IConvertToCachedOptions {
flags?: Parser.flags.Input<any>
args?: Parser.args.Input
id?: string
plugin?: IPlugin
}
Expand Down
8 changes: 8 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
# yarn lockfile v1


"@anycli/parser@^3.0.2":
version "3.0.2"
resolved "https://registry.yarnpkg.com/@anycli/parser/-/parser-3.0.2.tgz#69af00b6b6f0cc6da4405cf44dc29b2d14d30c6e"
dependencies:
"@anycli/screen" "^0.0.3"
chalk "^2.3.0"
lodash "^4.17.4"

"@anycli/screen@^0.0.3":
version "0.0.3"
resolved "https://registry.yarnpkg.com/@anycli/screen/-/screen-0.0.3.tgz#f0afd970c3ed725702948a45a874ede1fdd9362e"
Expand Down

0 comments on commit f2344a8

Please sign in to comment.