Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce a .dotenv.config file to store and read flags for Dotenv CLI #160

Open
FranzGB opened this issue Mar 14, 2023 · 1 comment
Open

Comments

@FranzGB
Copy link
Contributor

FranzGB commented Mar 14, 2023

The current implementation of the Dotenv Command Line Interface (CLI) requires users to provide multiple flags in order to execute a program with specific environment variables. This can result in a lengthy and unwieldy command.

To address this issue, it is proposed that a .dotenv.config file be introduced. This file will contain the necessary flags to be passed to the CLI and will be read by Dotenv, allowing users to execute programs with the required environment variables in a more concise and streamlined manner.

This approach is inspired by the behavior of RSpec, a popular testing framework for Ruby. By introducing a .dotenv.config file, users will be able to more easily manage the necessary flags for their programs and streamline their workflow.

Example:

# .dotenv.config
-x .env.example
-x .env.example.db
-f .env.db 
@CristhianMotoche
Copy link
Collaborator

Hey @FranzGB I've assigned @flandrade to solve this issue. Could you please follow up with her on the development of this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants