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

How about an environs-cli? #166

Closed
epicserve opened this issue Aug 18, 2020 · 1 comment
Closed

How about an environs-cli? #166

epicserve opened this issue Aug 18, 2020 · 1 comment

Comments

@epicserve
Copy link
Contributor

Just some random thoughts ... but it might be cool if there was an environs-cli that could generate an empty .env file so you could easily the settings you need to set when creating a new project. Maybe the output could be something like the following. Inspiration comes from, https://github.com/lincolnloop/goodconf.

DEBUG=off # Default (bool)
INTERNAL_IPS=127.0.0.1,172.18.0.1,localhost,0.0.0.0  # Default (list)
ALLOWED_HOSTS=127.0.0.1  # Default (list)
DOMAIN='127.0.0.1:8000'  # Default (string)
EMAIL_HOST=smtp.mailtrap.io # Dault (string)
EMAIL_HOST_USER=  # No Default (string)
EMAIL_HOST_PASSWORD=  # No Default (string)
EMAIL_PORT=25  # Default (string)  
SECRET_KEY=''  # No Default (string)
DATABASE_URL=''  # No Default (string)
AWS_ACCESS_KEY_ID=''  # No Default (string)
AWS_SECRET_ACCESS_KEY=''  # No Default (string)
BITLY_ACCESS_TOKEN=''  # No Default (string)
SENTRY_DSN=''  # No Default (url)
@sloria
Copy link
Owner

sloria commented Sep 1, 2020

Interesting idea. A CLI is beyond the scope of what I want environs to be, but I think it'd be neat as a separate package. If you end up making this, post it here and I can link to it in the docs.

@sloria sloria closed this as completed Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants