1-based ranges support
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 571
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
Please explain your intent
Provide a better UX for pdfly cat.
Describe the solution you'd like
Use 1-based ranges, not 0-based.
Modern pdf viewer number pages from 1.
Additional context
Even pdfly cat --help shows that something is indeed wrong with the current approach:
Page range expression examples:
...
22 just the 23rd page. :-1 all but the last page
...
5: from the sixth page onward. -3:-1 third & second to last.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the pdfly cat entry point and run pdfly cat --help to understand the current range expressions and examples. Trace where page ranges are interpreted, then update the behavior and help text so page numbering is 1-based, and verify the documented examples match the resulting selection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100