mirror of
https://github.com/taoky/shadowmire.git
synced 2025-07-11 20:08:50 +00:00
Config file support and other fixes
- Write JSON every 100 iterations instead of 1000 iterations - Write plan.json with indent=2
This commit is contained in:
@ -2,6 +2,8 @@
|
||||
|
||||
Shadowmire syncs PyPI (or plain HTTP(S) PyPI mirrors using Shadowmire) with a lightweight and easy approach.
|
||||
|
||||
Requires Python 3.11+.
|
||||
|
||||
## Docs
|
||||
|
||||
### Background
|
||||
@ -89,6 +91,12 @@ Verify command could be used if you believe that something is wrong (inconsisten
|
||||
|
||||
Verify command accepts same arguments as sync.
|
||||
|
||||
If you don't like appending a long argument list, you could use `--config` ([example](./config.example.toml)):
|
||||
|
||||
```shell
|
||||
./shadowmire.py --config config.toml sync
|
||||
```
|
||||
|
||||
Also, if you need debugging, you could use `do-update` and `do-remove` command to operate on a single package.
|
||||
|
||||
## Acknowledgements
|
||||
|
Reference in New Issue
Block a user