Skip to content

Conversation

@leopoletto
Copy link

@leopoletto leopoletto commented Aug 28, 2025

This PR updates the README to better reflect the actual behavior of the CLI:

  • Fixes sample output: updates "url" → "URI" and changes "allowed: YES" → ": ALLOWED"
  • Documents what happens if robots.txt is empty
  • Adds exit code information (0 = ALLOWED, 1 = DISALLOWED) for easier scripting

No code changes, just documentation enhancements.

- Corrected example output (`allowed: YES` → `: ALLOWED`)
- Documented behavior when robots.txt is empty
- Added note on exit codes (`0` = ALLOWED, `1` = DISALLOWED`)

These changes bring the README in line with the current `robots_main` output,
making usage clearer for scripting and automation.
- Clarify parser output when robots.txt is empty
- Add note on exit codes (`0` = ALLOWED, `1` = DISALLOWED)
- Makes CLI behavior clearer for scripting use
@leopoletto leopoletto changed the title Fix README output examples and document exit codes docs: fix README CLI example and add exit codes Aug 28, 2025
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