Introduction
Welcome to my final post about contributing to projects for Hacktoberfest! For this last contribution, I decided to continue working on the same project I mentioned in my previous post: pdfly. To give you a quick recap, pdfly is a command-line interface (CLI) tool designed for manipulating PDF files efficiently and flexibly. This post will dive into the latest feature I implemented, showcasing how it enhances the tool's usability.
Issue
For my final contribution, I tackled another issue within the pdfly repository. This issue centered on adding a new feature: Flexible PDF Layout Options using the --layout parameter. The goal was to enable users to customize the arrangement of PDF pages into various grid layouts, making the tool even more versatile. The instructions for this feature were well-documented, making the implementation process smooth and enjoyable.
Pull Request
Eventually, I came up with a pull request. I described everything well, so maintainer could understand what commits I made.
Here's how this new feature looks if you use --help
parameter, allowing users to arrange PDF pages in configurable grid layouts. Supported layouts include:
- 2x2: 2 columns, 2 rows per page
- 3x3: 3 columns, 3 rows per page
- 1x2: 1 column, 2 rows per page
- 2x1: 2 columns, 1 row per page:
Conclusion
Overall, contributing to this project has been an incredibly rewarding experience. Tackling these issues and seeing my code become part of a useful open-source tool gave me immense satisfaction. Working on pdfly
has also sparked a newfound passion for developing CLI tools, and I look forward to diving into more projects like this in the future.
Top comments (0)