Skip to content

Conversation

mattiasboyer
Copy link

This pull request introduces a show_progress parameter to the windows() and macos() functions to enable or disable the progress bar during document conversion.
Additionally, it updates the CLI to support a new --no-progress flag that allows users to disable the progress bar from the command line. This flag maps inversely to the show_progress parameter.

Changes:
Added show_progress argument to windows() and macos() functions to conditionally show the tqdm progress bar.
Added --no-progress flag to CLI to disable progress bar.
Updated CLI to pass show_progress=not args.no_progress to convert().

Motivation:
Allow users to disable progress bar for non-interactive or logging scenarios.
Improve usability and code clarity.
The default behavior remains unchanged with progress bars enabled unless --no-progress is specified

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