@oxog/port-terminator
Version:
Cross-platform utility to terminate processes on ports with zero dependencies
16 lines • 479 B
TypeScript
import type { ICliOptions } from '../types';
export declare class CommandParser {
private args;
private parsed;
constructor(args?: string[]);
parse(): ICliOptions;
private parseArguments;
private parseLongArgument;
private parseShortArguments;
private parseValue;
private parsePortValue;
private isBooleanFlag;
private getShortFlagName;
static parseArgs(args?: string[]): ICliOptions;
}
//# sourceMappingURL=command-parser.d.ts.map