Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
-> Moved utility functions (print_info, print_success, print_warning, print_error, handle_and_remove, parse_size, get_file_hash) from main.py to utils.py to keep the code modular and reusable.
->Updated imports in main.py to reflect the new structure.
->Tested the new structure and confirmed that the code works as expected.
->Fixed the issue regarding the missing reference to print_success in utils.py.
->Ensured that the code generates no new warnings and that unit tests (if any) pass successfully.
This PR addresses Issue #59, which relates to improving code organization by moving reusable utility functions into a separate module (utils.py).
Type of change
Please delete options that are not relevant.
Checklist
Screenshots (if applicable)
Add screenshots to help explain the changes (if necessary).