return options on parse
This commit is contained in:
parent
a09816dd6e
commit
0c5c40e4a4
@ -78,10 +78,11 @@ export class InteractiveOptions extends Persistent {
|
||||
}
|
||||
}
|
||||
|
||||
public async parse (): Promise<void> {
|
||||
public async parse (): Promise<Record<string, unknown>> {
|
||||
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<void> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user