Skip to content

Add limit flag #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 27, 2025
Merged

Add limit flag #91

merged 2 commits into from
Jul 27, 2025

Conversation

google-labs-jules[bot]
Copy link
Contributor

Fixes #84

This commit introduces a `--limit` flag to the `file`, `pipe`, and `sitemap` commands. This feature allows you to restrict the number of URLs being checked, preventing prolonged runs and enabling more targeted testing.

The implementation includes:
- A new `--limit` option in the CLI.
- Logic to enforce the URL limit in the respective commands.
- Tests to verify the correct behavior of the `--limit` flag.
Copy link

codecov bot commented Jul 23, 2025

Codecov Report

Attention: Patch coverage is 12.50000% with 7 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
lib/deadfinder.rb 0.00% 7 Missing ⚠️

📢 Thoughts on this report? Let us know!

@hahwul hahwul changed the title Pull request for issue #84 Add limit flag Jul 27, 2025
@hahwul hahwul marked this pull request as ready for review July 27, 2025 04:41
@hahwul hahwul self-assigned this Jul 27, 2025
@hahwul hahwul merged commit 90a509a into main Jul 27, 2025
4 checks passed
@hahwul hahwul deleted the feature/add-limit-flag branch July 27, 2025 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add limit flag in file, pipe, sitemap commands
1 participant