Loading environment variables based on profile flag #4180
hanhwanglim
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
this is what |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
mise supports multiple config environment depending on
MISE_ENV
. Most of the time, tools and tasks remains the same, but environment variables changes depending on the use case. could we perhaps add a profile flag onmise env
to select the environment variables we want to load?for example, if we have the config file
by default mise will load the values,
"dev-db-url"
and"dev-api-key"
but running
mise env production
will load the environment variables from the production tableBeta Was this translation helpful? Give feedback.
All reactions