Skip to content

Add a limit to the amount of files to print #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

leamingrad
Copy link

Prior to this change, the printer would print every file. This could
result in us printing a message which was too large to upload as a
comment to Github.

This change adds adds a --limit argument to the script, which
truncates the list of files and prints a message if truncation occurred.

Prior to this change, the printer would print every file. This could
result in us printing a message which was too large to upload as a
comment to Github.

This change adds a max_files_to_print argument, which truncates the list
of files and prints a message if truncation occurred.
Prior to this change, there was no way to set the limit of files to
print.

This change adds a new argument to the script to handle this.
@leamingrad leamingrad marked this pull request as ready for review May 29, 2025 14:21
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