Show More
@@ -599,6 +599,11 b' rcstack_stack_status_usage() {' | |||||
599 | printf " Display a detailed info about configuration files\n" |
|
599 | printf " Display a detailed info about configuration files\n" | |
600 | echo |
|
600 | echo | |
601 |
|
601 | |||
|
602 | # :flag.usage | |||
|
603 | printf " %s\n" "-v" | |||
|
604 | printf " Verbose output for details on the stack\n" | |||
|
605 | echo | |||
|
606 | ||||
602 | # :command.usage_fixed_flags |
|
607 | # :command.usage_fixed_flags | |
603 | printf " %s\n" "--help, -h" |
|
608 | printf " %s\n" "--help, -h" | |
604 | printf " Show this help\n" |
|
609 | printf " Show this help\n" | |
@@ -3236,11 +3241,24 b' rcstack_stack_status_command() {' | |||||
3236 | DEBUG=${args[--debug]} |
|
3241 | DEBUG=${args[--debug]} | |
3237 | DETAILED=${args[--detailed]} |
|
3242 | DETAILED=${args[--detailed]} | |
3238 | CONFIGS=${args[--configs]} |
|
3243 | CONFIGS=${args[--configs]} | |
|
3244 | VERBOSE=${args[-v]} | |||
3239 |
|
3245 | |||
3240 | .env --file $RUNTIME_ENV |
|
3246 | .env --file $RUNTIME_ENV | |
3241 | .env get RC_APP_BASE_URL |
|
3247 | .env get RC_APP_BASE_URL | |
3242 | RC_APP_BASE_URL=$REPLY |
|
3248 | RC_APP_BASE_URL=$REPLY | |
3243 |
|
3249 | |||
|
3250 | .env get RC_VERSION | |||
|
3251 | RC_VERSION=$REPLY | |||
|
3252 | ||||
|
3253 | .env get RC_SSH_PORT | |||
|
3254 | RC_SSH_PORT=$REPLY | |||
|
3255 | ||||
|
3256 | .env get RC_EDITION | |||
|
3257 | RC_EDITION=$REPLY | |||
|
3258 | ||||
|
3259 | .env get RC_LICENSE_TOKEN | |||
|
3260 | RC_LICENSE_TOKEN=$REPLY | |||
|
3261 | ||||
3244 | if [[ $DEBUG ]]; then |
|
3262 | if [[ $DEBUG ]]; then | |
3245 | echo "---" |
|
3263 | echo "---" | |
3246 | ps_cmd=$(docker ps --filter=name=rc_cluster --format="{{.ID}}") |
|
3264 | ps_cmd=$(docker ps --filter=name=rc_cluster --format="{{.ID}}") | |
@@ -3258,6 +3276,12 b' rcstack_stack_status_command() {' | |||||
3258 | fi |
|
3276 | fi | |
3259 |
|
3277 | |||
3260 | echo "Running hostname: $RC_APP_BASE_URL" |
|
3278 | echo "Running hostname: $RC_APP_BASE_URL" | |
|
3279 | if [[ $VERBOSE ]]; then | |||
|
3280 | printf "Edition: $RC_EDITION:$RC_VERSION\n" | |||
|
3281 | printf "License: $RC_LICENSE_TOKEN\n" | |||
|
3282 | printf "SSH Port: $RC_SSH_PORT\n" | |||
|
3283 | printf "\n" | |||
|
3284 | fi | |||
3261 |
|
3285 | |||
3262 | if [[ $CONFIGS ]]; then |
|
3286 | if [[ $CONFIGS ]]; then | |
3263 | printf "RhodeCode:\n" |
|
3287 | printf "RhodeCode:\n" | |
@@ -3591,7 +3615,7 b' rcstack_cli_cmd_command() {' | |||||
3591 | vcsserver" |
|
3615 | vcsserver" | |
3592 |
|
3616 | |||
3593 | if [[ $DEBUG ]]; then |
|
3617 | if [[ $DEBUG ]]; then | |
3594 |
|
|
3618 | echo $CMD_RHODECODE | |
3595 | echo ${other_args[*]} |
|
3619 | echo ${other_args[*]} | |
3596 | fi |
|
3620 | fi | |
3597 |
|
3621 | |||
@@ -5283,6 +5307,14 b' rcstack_stack_status_parse_requirements() {' | |||||
5283 | shift |
|
5307 | shift | |
5284 | ;; |
|
5308 | ;; | |
5285 |
|
5309 | |||
|
5310 | # :flag.case | |||
|
5311 | -v) | |||
|
5312 | ||||
|
5313 | # :flag.case_no_arg | |||
|
5314 | args['-v']=1 | |||
|
5315 | shift | |||
|
5316 | ;; | |||
|
5317 | ||||
5286 | -?*) |
|
5318 | -?*) | |
5287 | printf "invalid option: %s\n" "$key" >&2 |
|
5319 | printf "invalid option: %s\n" "$key" >&2 | |
5288 | exit 1 |
|
5320 | exit 1 | |
@@ -5971,6 +6003,9 b' rcstack_cli_cmd_parse_requirements() {' | |||||
5971 | esac |
|
6003 | esac | |
5972 | done |
|
6004 | done | |
5973 |
|
6005 | |||
|
6006 | # :command.default_assignments | |||
|
6007 | [[ -n ${args['--env-file-path']:-} ]] || args['--env-file-path']="$PWD/.custom/.runtime.env" | |||
|
6008 | ||||
5974 | } |
|
6009 | } | |
5975 |
|
6010 | |||
5976 | # :command.parse_requirements |
|
6011 | # :command.parse_requirements |
General Comments 0
You need to be logged in to leave comments.
Login now