#!/usr/bin/env bash # Copyright © Magento, Inc. All rights reserved. # See COPYING.txt for license details. set -e cd "$(dirname "${BASH_SOURCE[0]}")" && devbox_dir=$PWD source "${devbox_dir}/scripts/functions.sh" resetNestingLevel current_script_name=`basename "$0"` initLogFile ${current_script_name} debug_devbox_project="$(bash "${devbox_dir}/scripts/get_env_config_value.sh" "debug_devbox_project")" if [[ ${debug_devbox_project} -eq 1 ]]; then set -x fi arguments=$@ setContext ${arguments} 2> >(logError) info "$(regular)See details in $(bold)${devbox_dir}/log/${current_script_name}.log$(regular). For debug output set $(bold)debug:devbox_project$(regular) to $(bold)1$(regular) in $(bold)etc/config.yaml$(regular)"