@jsdevtools/npm-publish
Version:
Fast, easy publishing to NPM
18 lines (17 loc) • 512 B
TypeScript
/** Wrapper module for command-line-args */
import type { Options } from "../options.js";
/** The parsed command-line arguments */
export interface ParsedArguments {
help?: boolean;
version?: boolean;
quiet?: boolean;
debug?: boolean;
options: Options;
}
/**
* Parse the given command-line arguments.
*
* @param argv The list of argument strings passed to the program.
* @returns A parsed object of options.
*/
export declare function parseCliArguments(argv: string[]): ParsedArguments;