Commit 42e5fe71 authored by Kirill Smelkov's avatar Kirill Smelkov

X neotest info

Like info-local but about any remote deployment.
parent d376641d
...@@ -785,6 +785,13 @@ cmd_info-local() { ...@@ -785,6 +785,13 @@ cmd_info-local() {
header header
} }
# command: print information about remote node
cmd_info() {
url="$1"
test -z "$url" && die "Usage neotest info [user@]<host>:<path>"
on $url ./neotest info-local
}
# ---- main driver ---- # ---- main driver ----
usage() { usage() {
...@@ -805,6 +812,7 @@ The commands are: ...@@ -805,6 +812,7 @@ The commands are:
deploy deploy NEO & needed software for tests to remote host deploy deploy NEO & needed software for tests to remote host
deploy-local deploy NEO & needed software for tests locally deploy-local deploy NEO & needed software for tests locally
info print information about a node
info-local print information about local deployment info-local print information about local deployment
EOF EOF
} }
...@@ -816,6 +824,12 @@ run-client | \ ...@@ -816,6 +824,12 @@ run-client | \
bench-cluster) bench-cluster)
;; ;;
info)
shift
cmd_info "$@"
exit 0
;;
info-local) info-local)
shift shift
cmd_info-local "$@" cmd_info-local "$@"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment