Merge branch 'localdev'
This commit is contained in:
commit
25cc986ba7
10
sndev
10
sndev
|
@ -92,7 +92,7 @@ USAGE
|
||||||
OPTIONS"
|
OPTIONS"
|
||||||
|
|
||||||
echo "$help"
|
echo "$help"
|
||||||
docker compose up --help | awk '/Options:/{y=1;next}y'
|
docker__compose up --help | awk '/Options:/{y=1;next}y'
|
||||||
}
|
}
|
||||||
|
|
||||||
sndev__stop() {
|
sndev__stop() {
|
||||||
|
@ -110,7 +110,7 @@ USAGE
|
||||||
OPTIONS"
|
OPTIONS"
|
||||||
|
|
||||||
echo "$help"
|
echo "$help"
|
||||||
docker compose down --help | awk '/Options:/{y=1;next}y'
|
docker__compose down --help | awk '/Options:/{y=1;next}y'
|
||||||
}
|
}
|
||||||
|
|
||||||
sndev__restart() {
|
sndev__restart() {
|
||||||
|
@ -128,13 +128,13 @@ USAGE
|
||||||
OPTIONS"
|
OPTIONS"
|
||||||
|
|
||||||
echo "$help"
|
echo "$help"
|
||||||
docker compose restart --help | awk '/Options:/{y=1;next}y'
|
docker__compose restart --help | awk '/Options:/{y=1;next}y'
|
||||||
}
|
}
|
||||||
|
|
||||||
sndev__status() {
|
sndev__status() {
|
||||||
shift
|
shift
|
||||||
if [ $# -eq 0 ]; then
|
if [ $# -eq 0 ]; then
|
||||||
docker__compose ps --format 'table {{.Service}}\t{{.State}}\t{{.Status}}\t{{.Label "CONNECT"}}'
|
docker__compose ps -a --format 'table {{.Service}}\t{{.State}}\t{{.Status}}\t{{.Label "CONNECT"}}'
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
docker__compose ps "$@"
|
docker__compose ps "$@"
|
||||||
|
@ -150,7 +150,7 @@ USAGE
|
||||||
OPTIONS"
|
OPTIONS"
|
||||||
|
|
||||||
echo "$help"
|
echo "$help"
|
||||||
docker compose ps --help | awk '/Options:/{y=1;next}y'
|
docker__compose ps --help | awk '/Options:/{y=1;next}y'
|
||||||
}
|
}
|
||||||
|
|
||||||
sndev__delete() {
|
sndev__delete() {
|
||||||
|
|
Loading…
Reference in New Issue