UNPKG

a11yanalyze

Version:

A command-line tool for developers and QA engineers to test web pages and websites for WCAG 2.2 AA accessibility compliance

32 lines 906 B
import { CliOptions, ScanOptions, CrawlOptions } from '../types'; /** * CLI command parsing and validation * Handles argument processing and option validation */ export declare class CommandParser { /** * Parse and validate scan command arguments * @param args - Command line arguments * @returns Parsed scan options */ parseScanCommand(args: string[]): { url: string; options: ScanOptions & CliOptions; }; /** * Parse and validate crawl command arguments * @param args - Command line arguments * @returns Parsed crawl options */ parseCrawlCommand(args: string[]): { url: string; options: CrawlOptions & CliOptions; }; /** * Validate URL format * @param url - URL to validate * @returns boolean */ validateUrl(url: string): boolean; } //# sourceMappingURL=command-parser.d.ts.map