mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-21 07:15:09 +00:00
Update dbench to accept bench args. Fixes #26
This commit is contained in:
parent
c2e45caba3
commit
8d963cf725
1 changed files with 3 additions and 1 deletions
4
dbench
4
dbench
|
|
@ -33,7 +33,9 @@ else
|
||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
c)
|
c)
|
||||||
docker exec -it frappe bash -c "bench $OPTARG"
|
shift
|
||||||
|
bench_args="$@"
|
||||||
|
docker exec -it frappe bash -c "bench ${bench_args}"
|
||||||
;;
|
;;
|
||||||
s)
|
s)
|
||||||
a=$(cd frappe-bench && ls sites/*/site_config.json | grep -o '/.\+/')
|
a=$(cd frappe-bench && ls sites/*/site_config.json | grep -o '/.\+/')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue