siegel
Version:
Web application development ecosystem
15 lines (14 loc) • 411 B
TypeScript
type CLIParamsValuesType = Obj<{
resolved: boolean;
value: boolean | string;
}>;
declare function parseCommandLineArgs(args: string[]): {
CLIParamsValues: Partial<Record<string, {
resolved: boolean;
value: boolean | string;
}>>;
commandValue: string | undefined;
unresolvedParamsCount: number;
};
export default parseCommandLineArgs;
export type { CLIParamsValuesType };