UNPKG

kist

Version:

Lightweight Package Pipeline Processor with Plugin Architecture

14 lines 637 B
import { AbstractProcess } from "../core/abstract/AbstractProcess.js"; import { OptionsInterface } from "../interface/OptionsInterface.js"; export declare class ArgumentParser extends AbstractProcess { private args; private validator; constructor(); getOption<K extends keyof OptionsInterface>(key: K, options?: { default?: OptionsInterface[K]; }): OptionsInterface[K] | undefined; hasFlag(key: keyof OptionsInterface): boolean; getAllFlags(): Record<string, string | boolean>; getFlag(key: string, defaultValue?: string | boolean): string | boolean; } //# sourceMappingURL=ArgumentParser.d.ts.map