util apihost
diff --git a/util/docopts.md b/util/docopts.md index 3173608..72d1107 100644 --- a/util/docopts.md +++ b/util/docopts.md
@@ -24,6 +24,7 @@ ```text Usage: + util apihost util system util update-cli util check-operator-version <version> @@ -48,6 +49,7 @@ ## Commands ``` +- apihost current apihost - system system info (<os>-<arch> in Go format) - update-cli update the cli downloading the binary - check-operator-version check if you need to update the operator
diff --git a/util/opsfile.yml b/util/opsfile.yml index 0358cc0..28e35c7 100644 --- a/util/opsfile.yml +++ b/util/opsfile.yml
@@ -47,6 +47,12 @@ cmds: - echo "{{OS}}-{{ARCH}}" + apihost: + desc: current apihost`` + silent: true + cmds: + - ops -wsk property get | awk '/whisk API host/{print $4}' + update-cli: desc: update CLI silent: true