From 0e12cd0fb5fa4d922b32e294592ba72cb4ecebed Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Tue, 5 May 2020 12:17:48 +0200 Subject: [PATCH] fixes --- lib/InteractiveOptions.ts | 30 +++++++++++++++++++++++++++++- yarn.lock | 6 +++--- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/lib/InteractiveOptions.ts b/lib/InteractiveOptions.ts index e1d7f53..04a6e18 100644 --- a/lib/InteractiveOptions.ts +++ b/lib/InteractiveOptions.ts @@ -11,12 +11,22 @@ interface Option { type: OptionType; required?: boolean; default: unknown; + alias: string; + env: string; +} + +interface OptionProcess extends Option { + filled: boolean; } export class InteractiveOptions extends Persistent { + protected options: Array; + public constructor (options: Array