feature request: load multiple `.env` file before running a command
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start at the dotenv command-line entry point and inspect how repeated -f options are parsed and loaded. Reproduce the example with host_config.env and user_credentials.env, then verify that values from both files are available with the established precedence behavior.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I have different configuration for my application that I intend to be composable. For example imagine I have env files with config values for database server hosts, and other env files with user credentials. I want to choose a combination of the two. I try to do something like
dotenv -f host_config.env -f user_credentials.env run bash do_things_with_db.sh
However it seems that only the last file is taken into account. I think this would be a useful feature to be able to load multiple files. What do you people think about it?
- Lenguaje dominante
- Python
- Estrellas
- 8.9k
- Forks
- 581
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de theskumar/python-dotenv
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
theskumar/python-dotenv#699 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
theskumar/python-dotenv#697 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 28/100
theskumar/python-dotenv#693 · 1 comentario ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
theskumar/python-dotenv#683 · 4 comentarios ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
theskumar/python-dotenv#644 · 2 comentarios ·
Todos los issues de theskumar/python-dotenv
Issues similares
-
essnmx good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
-
[Feature] 奇物选择添加优先级 Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
syfoud/Simulated_Scepter#174 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Giskard-AI/giskard-oss#2840 · 1 comentario ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Abiertoarea: repo bug perceived difficulty: 2
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
yeti-platform/yeti#1380 ·