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 flag --all to all basic commands #6

Merged

Conversation

StephanLoor
Copy link
Contributor

@StephanLoor StephanLoor commented Jul 18, 2024

This PR causes fix and clean to allow for multiple filenames as arguments. Alternatively, one can pass the flag --all to them, which applies them to all the available .rej files.

Removed fix_all() as this is no longer needed.

Moreover, diff can now also be applied to individual files. If no file name is passed, the diff for all the .rej files is produced.

Updated the tests and docs to reflect these changes.

Closes Issue #5.

@StephanLoor StephanLoor changed the title Add flag all files to basic commands Add flag --all to all basic commands Jul 18, 2024
@StephanLoor
Copy link
Contributor Author

@MarkusSagen I gave it a shot - let me know what you think! 😄

@MarkusSagen MarkusSagen self-requested a review July 23, 2024 13:44
Copy link
Owner

@MarkusSagen MarkusSagen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good! Great changes
Tested and seems to work as intended

@MarkusSagen MarkusSagen merged commit 3d38e1d into MarkusSagen:main Jul 23, 2024
2 checks passed
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.

2 participants