UNPKG

tdpw

Version:

CLI tool for uploading Playwright test reports to TestDino platform with TestDino storage support

69 lines 1.6 kB
/** * Command registry and execution logic */ /** * Command manager for handling subcommands and backward compatibility */ export declare class CommandManager { private readonly program; private config?; constructor(); /** * Setup the main program with subcommands and backward compatibility */ private setupProgram; /** * Execute cache command */ private executeCache; /** * Execute last failed command */ private executeLastFailed; /** * Execute upload command (backward compatibility) */ private executeUpload; /** * Resolve environment value with precedence: CLI option > env var > default * Validates format using regex: /^[a-z0-9]+([_-][a-z0-9]+)*$/ */ private resolveEnvironmentValue; /** * Get or create configuration for cache command */ private getOrCreateConfig; /** * Create configuration specifically for cache command */ private createConfigForCache; /** * Parse and execute commands */ parseAndExecute(args?: string[]): Promise<void>; /** * Show help */ showHelp(): void; /** * Show cache command help */ showCacheHelp(): void; /** * Show last-failed command help */ showLastFailedHelp(): void; /** * Show upload command help */ showUploadHelp(): void; /** * Get version */ getVersion(): string; } /** * Export command manager instance */ export declare const commandManager: CommandManager; //# sourceMappingURL=commands.d.ts.map