Allow users to name a default Environment in `meltano.yml`
Summary
Let users set the name of the default environment in meltano.yml
.
Proposed benefits
Users don't need to pass --environment
to every command or set the MELTANO_ENVIRONMENT
variable.
Proposal details
version: 1
default_environment: dev
environments:
- name: dev
...
- name: prod
...
means commands will use dev
if --environment
is not passed.
Best reasons not to build
Can confuse users about which environment will be activated if they use --environment
and default_environment
at the same time, but that can easily addressed in the docs and clearly giving precedence to the former.
Edited by Taylor A Murphy