diff --git a/lib/InteractiveOptions.ts b/lib/InteractiveOptions.ts index c55b5e2..3c08ace 100644 --- a/lib/InteractiveOptions.ts +++ b/lib/InteractiveOptions.ts @@ -78,10 +78,11 @@ export class InteractiveOptions extends Persistent { } } - public async parse (): Promise { + public async parse (): Promise> { await this.get_env_options (); await this.get_args_options (); await this.get_interactive_options (); + return this.to_object (); } private async assign_arg (opt: OptionProcess, value: unknown): Promise {