From 3d2ccada558abe13725987e318e13e578afedf0e Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdxcode@users.noreply.github.com> Date: Wed, 31 Jan 2018 20:30:37 -0800 Subject: [PATCH] fix: added default and options --- src/command.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/command.ts b/src/command.ts index cb024d9f..b4024ab4 100644 --- a/src/command.ts +++ b/src/command.ts @@ -40,6 +40,8 @@ export interface ICachedArg { description?: string required?: boolean hidden?: boolean + default?: string + options?: string[] } export interface ICachedBooleanFlag { @@ -59,6 +61,8 @@ export interface ICachedOptionFlag { hidden?: boolean description?: string helpValue?: string + default?: string + options?: string[] } export type ICachedFlag = ICachedBooleanFlag | ICachedOptionFlag