From f66213231f52765749184db0e37db69b2961988f Mon Sep 17 00:00:00 2001 From: taoky Date: Sun, 4 Aug 2024 17:35:26 +0800 Subject: [PATCH] Add help about prerelease filtering --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index b346fbc..411088a 100644 --- a/README.md +++ b/README.md @@ -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