- Introduced `SearchResult` interface to standardize search result handling and improve code readability. - Added TypeScript type annotations for command arguments and options in CLI methods to enforce stricter type safety. - Updated `.version()` for CLI to align with best practices by removing redundant description parameter. - Enhanced search logic with default parameter handling for limits and improved output formatting for results. - Adjusted `tsconfig.json` to disable `noImplicitAny` while retaining strict typing practices. - Streamlined CLI processes by parsing command-line arguments explicitly with `program.parse(process.argv)`. Purpose: Improve developer productivity with better type safety, clearer interfaces, and refined CLI functionality. |
||
|---|---|---|
| .. | ||
| utils | ||
| cli.ts | ||
| setup.ts | ||