-
The CLI will now list the forked repositories that will and will not be deleted:
fork-sweeper --owner rednafi --token $GITHUB_TOKEN --older-than-days 0
This returns:
Fetching forked repositories for rednafi... Guarded forked repos [won't be deleted]: Unguarded forked repos [will be deleted]: - https://github.com/rednafi/cpython - https://github.com/rednafi/dysconfig - https://github.com/rednafi/pydantic
-
Explicitly filter out forked repositories with fuzzy name matching:
fork-sweeper --owner "rednafi" --token $GITHUB_TOKEN --older-than-days 0 --guard 'py'
This prints:
Fetching forked repositories for rednafi... Guarded forked repos [won't be deleted]: - https://github.com/rednafi/cpython - https://github.com/rednafi/pydantic Unguarded forked repos [will be deleted]: - https://github.com/rednafi/dysconfig