Skip to content

Conversation

@zyadtaha
Copy link
Contributor

@zyadtaha zyadtaha commented Feb 1, 2025

Fix #19

  • Parsed --max-depth as an integer and validated the input.
  • Added tests for --max-depth 0 and --max-depth 2 and verified their behavior.
  • Ensured the default behavior remained unchanged.
  • Described --max-depth in the README file.

@Ahmedhossamdev
Copy link
Owner

Hey @zyadtaha

Great work!!, I will merge <3

@Ahmedhossamdev Ahmedhossamdev merged commit 743ca7b into Ahmedhossamdev:main Feb 2, 2025
1 check passed
@zyadtaha zyadtaha deleted the max-depth-flag branch February 3, 2025 07:24
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.

Add a --max-depth flag to limit directory traversal depth

2 participants