feat: Manipulate layers / optional content
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
The ability to turn layers on/off, delete layers, and copy layers to a new file
Describe the solution you'd like
A new command layers, perhaps something like:
> pdfly layers doc.pdf --list
['layer1': {'visible': True}, 'layer2': {'visible': True}]
> pdfly layers doc.pdf --off layer1
layer1 turned off
> pdfly layers doc.pdf --list
['layer1': {'visible': False}, 'layer2': {'visible': True}]
> pdfly layers doc.pdf --del layer2
layer2 deleted
> pdfly layers doc.pdf --list
['layer1': {'visible': False}]
Additional context
I'm interested in working on this!
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 by reviewing the existing CLI command entry points and how PDF manipulation commands are structured. Define the scope of a proposed layers command around listing, toggling visibility, deleting layers, and copying layers to a new file. Done should include documented command behavior and coverage for the requested operations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100