seitime-frappe/frappe/commands
Ankush Menat 49437f53b4
feat: operation level locking for CLI commands (#19162)
This prevents mistakenly issuing same commands twice which can be
dangerous.

added global lock(s):
- [x] bench build

added site level lock(s):
- [x] bench new-site sitename
- [x] bench --site sitename migrate
- [x] bench install-app appname
- [x] bench build
- [x] bench restore (the code is just meh, needs some cleanup)

closes https://github.com/frappe/frappe/issues/13215
2022-12-08 13:24:43 +05:30
..
__init__.py docs: add missing help text for commands (#19039) 2022-11-29 16:01:25 +05:30
redis_utils.py style: format all python files using black (#16453) 2022-04-12 10:59:25 +05:30
scheduler.py docs: add missing help text for commands (#19039) 2022-11-29 16:01:25 +05:30
site.py feat: operation level locking for CLI commands (#19162) 2022-12-08 13:24:43 +05:30
translate.py feat(translations-cli): Fetch translations for a particular app (#17276) 2022-06-24 17:04:49 +05:30
utils.py feat: operation level locking for CLI commands (#19162) 2022-12-08 13:24:43 +05:30