josharsh/md-pdf-md

Add more helpful error messages for common CLI mistakes

开放

#2 创建于 2025年10月30日

 (0 条评论) (0 个反应) (0 位负责人)TypeScript (2 个派生)auto 404
clienhancementgood first issuehelp wanted

仓库指标

星标
 (7 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Make error messages more user-friendly when users make common mistakes.

Tasks:

  • Add specific error when file doesn't exist
  • Add hint when Ollama is not running (for PDF→MD)
  • Add suggestion when wrong file type is provided
  • Improve error formatting with colors (using chalk)

Files to modify:

  • src/cli.ts
  • src/converters/pdf-to-markdown.ts

Good First Issue: Simple TypeScript changes with clear requirements!

贡献者指南