[CLI] Improve Rally DB UX

- By default hide creds when running rally db show
- Add option --creds to show them
- Print results of operations as well as connection string to DB

Change-Id: Ifc8ee8ee7b38821409d29ccfe66903e891e12ad3
This commit is contained in:
Boris Pavlovic 2017-11-09 11:38:40 -08:00
parent d9bd263e77
commit 191594652c

View File

@ -22,7 +22,7 @@ _rally()
OPTS["db_ensure"]="" OPTS["db_ensure"]=""
OPTS["db_recreate"]="" OPTS["db_recreate"]=""
OPTS["db_revision"]="" OPTS["db_revision"]=""
OPTS["db_show"]="" OPTS["db_show"]="--creds"
OPTS["db_upgrade"]="" OPTS["db_upgrade"]=""
OPTS["deployment_check"]="--deployment" OPTS["deployment_check"]="--deployment"
OPTS["deployment_config"]="--deployment" OPTS["deployment_config"]="--deployment"