feat: add ability to check on app lock status via apps:locked command

This allows users to further introspect on the state of the application.
This commit is contained in:
Jose Diaz-Gonzalez
2018-11-05 01:20:34 -05:00
parent 6b35cc3131
commit cb3b5bdc28
7 changed files with 73 additions and 23 deletions

View File

@@ -4,7 +4,7 @@ source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_AVAILABLE_PATH/apps/internal-functions"
apps_lock_cmd() {
declare desc="creates a '.deploy.lock' file in an application's repo"
declare desc="locks an app for deployment"
declare cmd="apps:lock"
[[ "$1" == "$cmd" ]] && shift 1
declare APP="$1"; verify_app_name "$APP"