feat: unify apps:rename and apps:clone

- add --skip-deploy to apps:rename
- add all missing validation to rename command
- fix log output to be a bit more logical
This commit is contained in:
Jose Diaz-Gonzalez
2020-02-17 19:23:07 -05:00
parent 8987ec6704
commit 2e774f0806
4 changed files with 30 additions and 6 deletions

View File

@@ -10,7 +10,9 @@ trigger-ps-post-app-rename() {
declare trigger="post-app-rename"
declare OLD_APP="$1" NEW_APP="$2"
ps_rebuild "$NEW_APP"
if [[ "$SKIP_REBUILD" != "true" ]]; then
ps_rebuild "$NEW_APP"
fi
}
trigger-ps-post-app-rename "$@"