Add help about prerelease filtering

This commit is contained in:
taoky 2024-08-04 17:35:26 +08:00
parent 649d14c4fd
commit f66213231f

View File

@ -50,6 +50,12 @@ Sync command also supports `--exclude` -- you could give multiple regexes like t
./shadowmire.py sync --exclude package1 --exclude ^0
```
Also it supports prerelease filtering like [this](https://bandersnatch.readthedocs.io/en/latest/filtering_configuration.html#prerelease-filtering):
```shell
./shadowmire.py sync --sync-packages --prerelease-exclude '^duckdb$'
```
And `--shadowmire-upstream`, if you don't want to sync from PyPI directly.
```shell