Skip to content

Conversation

@khnumdev
Copy link
Owner

Apply feedback from PR #1, improving CLI help, documentation, and dependency handling for OneDrive and EPUB.

This PR addresses several points from PR #1, including:

  • Adding explicit help options (-h, -help, --help) to all commands for better usability.
  • Updating README.md and .env.example to clarify OneDrive setup and environment variables.
  • Implementing lazy imports for ebooklib and OneDrive-related dependencies (msgraph, azure.identity) to make them optional, reducing the initial dependency footprint.
  • Adding validation to the build command's --src option to explicitly error when a onedrive:/ path is provided, guiding users to sync files locally as direct processing is not yet supported.

Open in Cursor Open in Web

…Drive opt-in.

- Support -h/-help/--help across commands; document help usage.
- Fix README repo path and clarify OneDrive env and setup.
- Add .env.example placeholders and tidy variables.
- Make OneDrive deps optional via lazy imports; clarify build src type.
- Minor robustness in build: validate src, error on onedrive path until sync.
- Ensure EPUB parsing lazy-imports ebooklib to speed tests.
@cursor
Copy link

cursor bot commented Oct 17, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@khnumdev khnumdev marked this pull request as ready for review October 17, 2025 00:35
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.

3 participants