Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow overriding cloud env in start:cloud script (#19857)
Uses basic bash variable substitution syntax to define `frontend-dev` as a default value for `$AB_ENV` instead of hardcoded; tested and working in bash, zsh, and fish shells. To specify different environments: ```sh # `$AB_ENV` is the default value, `"frontend-dev"` npm run start:cloud # `$AB_ENV` is the user-supplied value, `"dev-2"`; expects a corresponding `.env.dev-2` file to exist AB_ENV=dev-2 npm run start:cloud ```
- Loading branch information