tdpw
Version:
CLI tool for uploading Playwright test reports to TestDino platform with Azure storage support
40 lines • 918 B
TypeScript
/**
* CLI argument parser using Commander.js
*/
import { CLIOptions } from '../types';
/**
* CLI argument parser and validator
*/
export declare class CliParser {
private readonly program;
constructor();
/**
* Configure the CLI program with all options and metadata
*/
private setupProgram;
/**
* Parse and validate CLI arguments
*/
parseArguments(args?: string[]): CLIOptions;
/**
* Display help information
*/
showHelp(): void;
/**
* Get the version string
*/
getVersion(): string;
/**
* Validate that required arguments are present
*/
private validateRequiredArgs;
/**
* Enhanced parse with better error handling
*/
parseWithErrorHandling(args?: string[]): CLIOptions;
}
/**
* Create and export parser instance
*/
export declare const cliParser: CliParser;
//# sourceMappingURL=parser.d.ts.map