mirror of
https://github.com/taoky/shadowmire.git
synced 2025-07-11 20:08:50 +00:00
Set repo with argument/config (no longer use env)
This commit is contained in:
@ -35,10 +35,10 @@ Obviously, `list_packages_with_serial()`'s alternative is the `local.json`, whic
|
||||
If you just need to fetch all indexes (and then use a cache solution for packages):
|
||||
|
||||
```shell
|
||||
REPO=/path/to/pypi ./shadowmire.py sync
|
||||
./shadowmire.py --repo /path/to/pypi sync
|
||||
```
|
||||
|
||||
If `REPO` env is not set, it defaults to current working directory.
|
||||
If `--repo` argument is not set, it defaults to current working directory.
|
||||
|
||||
If you need to download all packages, add `--sync-packages`.
|
||||
|
||||
|
Reference in New Issue
Block a user