with-lock
8BitSafe-cli [common options] repo with-lock [options] REPOSITORY COMMAND [ARGS...]
| positional arguments | description |
|---|---|
| REPOSITORY | repository to lock |
| COMMAND | command to run |
| ARGS | command arguments |
Description
Run a command while holding the repo lock.
Useful for copying the repository using something like rsync while making sure the repository is not changed during sync.