Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Amir Mullagaliev
Amir Mullagaliev

Posted on • Edited on

Last Contribution For Hacktoberfest

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 anotherissue 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 apull 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:

Image description

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 onpdfly 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)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Seneca Computer Programming & Analysis student
  • Location
    Ontario, Toronto
  • Joined

More fromAmir Mullagaliev

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp