Skip to content
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

Add support for splitting all images in a directory #3

Merged
merged 4 commits into from
Apr 9, 2024

Conversation

raymondytian
Copy link
Owner

Description

This pull request allows users to specify a directory containing images to split. Additionally, it adds the option for recursive search through the entire directory tree to find images.

Changes Made

  • Modified the image (now images) argument to accept a single image or a directory.
  • Added a new flag argument -R or --recursive to enable recursive search for images in the directory.
  • Implemented logic to recursively search through the directory tree if the -R flag is provided.

Example Usage

# Split all images in the specified directory (including subdirectories)
splix --images ~/Downloads -r 1,2,1 -c 2,1,2 -R

@raymondytian raymondytian merged commit 400efc8 into main Apr 9, 2024
1 check passed
@raymondytian raymondytian deleted the feature/image-dir branch April 9, 2024 09:54
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.

None yet

1 participant