UNPKG

commandzen

Version:

A command-line argument parsing library that allows for quick and easy parsing of command-line arguments.

13 lines (12 loc) 361 B
export declare class OptionParser { private constructor(); static parse(flag: string): { shortName: string | undefined; longName: string | undefined; key: string | undefined; required: boolean; }; private static extractShortAndLongNames; private static extractKeyAndRequired; private static extractKey; }