You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: adc.sh
+32-2Lines changed: 32 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,8 @@ GLOBAL_LONG_HELP_COUNTER=0
17
17
declare -a GLOBAL_LONG_HELP_STRINGS
18
18
declare -a GLOBAL_LONG_HELP_COMMANDS
19
19
SCRIPTNAME=$(basename "$0")
20
+
VERBOSITY_COUNTER=0
21
+
declare -i VERBOSITY_COUNTER
20
22
# register namespace_command help
21
23
functionregister {
22
24
GLOBAL_COMMANDS="$GLOBAL_COMMANDS$1"
@@ -190,7 +192,8 @@ function _help {
190
192
COMMAND_RESULT="${COMMAND_RESULT}\t-H <controller-host>\t\t specify the host of the controller you want to connect to\n"
191
193
COMMAND_RESULT="${COMMAND_RESULT}\t-C <controller-credentials>\t provide the credentials for the controller. Format: user@tenant:password\n"
192
194
COMMAND_RESULT="${COMMAND_RESULT}\t-D <output-verbosity>\t\t Change the output verbosity. Provide a list of the following values: debug,error,warn,info,output\n"
193
-
COMMAND_RESULT="${COMMAND_RESULT}\t-D <application-name>\t\t Provide a default application"
195
+
COMMAND_RESULT="${COMMAND_RESULT}\t-D <application-name>\t\t Provide a default application\n"
COMMAND_RESULT="${COMMAND_RESULT}\nTo execute a action, provide a namespace and a command, e.g. \"metrics get\" to get a specific metric.\nFinally the following commands in the global namespace can be called directly:\n"
195
198
local NAMESPACE=""
196
199
local SORTED
@@ -443,6 +446,19 @@ register application_export Export an application from the controller
443
446
describe application_export <<EOF
444
447
Export a application from the controller. Specifiy the application id as parameter.
Copy file name to clipboardExpand all lines: commands/help.sh
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,8 @@ function _help {
7
7
COMMAND_RESULT="${COMMAND_RESULT}\t-H <controller-host>\t\t specify the host of the controller you want to connect to\n"
8
8
COMMAND_RESULT="${COMMAND_RESULT}\t-C <controller-credentials>\t provide the credentials for the controller. Format: user@tenant:password\n"
9
9
COMMAND_RESULT="${COMMAND_RESULT}\t-D <output-verbosity>\t\t Change the output verbosity. Provide a list of the following values: debug,error,warn,info,output\n"
10
-
COMMAND_RESULT="${COMMAND_RESULT}\t-D <application-name>\t\t Provide a default application"
10
+
COMMAND_RESULT="${COMMAND_RESULT}\t-D <application-name>\t\t Provide a default application\n"
COMMAND_RESULT="${COMMAND_RESULT}\nTo execute a action, provide a namespace and a command, e.g. \"metrics get\" to get a specific metric.\nFinally the following commands in the global namespace can be called directly:\n"
0 commit comments