poku
Version:
🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.
6 lines (5 loc) • 441 B
TypeScript
export declare const getArg: (arg: string, prefix?: string, baseArgs?: string[]) => string | undefined;
export declare const hasArg: (arg: string, prefix?: string, baseArgs?: string[]) => boolean;
export declare const getPaths: (prefix?: string, baseArgs?: string[]) => string[] | undefined;
export declare const argToArray: (arg: string, prefix?: string, baseArgs?: string[]) => string[] | undefined;
export declare const hasOnly: boolean;