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

Commit

Permalink
fix: added default and options
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 1, 2018
1 parent 5e718d6 commit 3d2ccad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export interface ICachedArg {
description?: string
required?: boolean
hidden?: boolean
default?: string
options?: string[]
}

export interface ICachedBooleanFlag {
Expand All @@ -59,6 +61,8 @@ export interface ICachedOptionFlag {
hidden?: boolean
description?: string
helpValue?: string
default?: string
options?: string[]
}

export type ICachedFlag = ICachedBooleanFlag | ICachedOptionFlag

0 comments on commit 3d2ccad

Please sign in to comment.