Skip to content

Conversation

@SGreeshma
Copy link

Summary

This PR improves the CLI experience for markitdown by introducing the following enhancements:

  • ✅ Added support for --quiet flag to suppress non-error output
  • ✅ Integrated logging module for better debugging and message control
  • ✅ Added file existence check before processing input files
  • ✅ Wrapped file writing logic in try/except block to handle I/O errors gracefully
  • ✅ Improved argument help text for better user guidance
  • ✅ Cleaned and normalized MIME type, charset, and extension input

Why This Is Useful

These changes improve robustness, usability, and script-friendliness for users who want clean CLI behavior, better error feedback, and automation-friendly output.

@SGreeshma
Copy link
Author

SGreeshma commented Jul 17, 2025 via email

@SGreeshma
Copy link
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant