@ton-ai-core/vibecode-linter
Version:
Advanced TypeScript linter with Git integration, dependency analysis, and comprehensive error reporting
21 lines • 737 B
TypeScript
import type { CLIOptions } from "../../core/types/index.js";
/**
* Парсит аргументы командной строки.
*
* CHANGE: Refactored to reduce complexity with processArgument helper
* WHY: Original function had complexity 10, maximum allowed is 8
* QUOTE(LINT): "Function has a complexity of 10. Maximum allowed is 8"
* REF: ESLint complexity
* SOURCE: n/a
*
* @returns Опции командной строки
*
* @example
* ```ts
* // Command: lint.ts src/file.ts --max-clones 20 --no-fix
* const options = parseCLIArgs();
* // Returns: { targetPath: "src/file.ts", maxClones: 20, noFix: true, ... }
* ```
*/
export declare function parseCLIArgs(): CLIOptions;
//# sourceMappingURL=cli.d.ts.map