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

Extend env-init command to include all customizable values in .env file #32

Closed
davidalger opened this issue Oct 29, 2019 · 0 comments
Closed
Labels
enhancement New feature or request
Milestone

Comments

@davidalger
Copy link
Collaborator

Opened by request from @talesh:

  1. Add a flags to warden env-init to define things like PHP version so it'll automatically add PHP_VERSION=7.1 to the .env file
    ref: https://twitter.com/_talesh/status/1182758060546088962

Additional Notes:

  • This seems like a very good idea, and can be easily implemented in a BC fashion as env-init is not generally run beyond the initial execution to setup a project.
  • May require some work on argument parsing logic to support this.
  • This would allow for changing the default versions of things in subsequent releases of Warden without breaking a project's reliance on a particular version since they would all be frozen in .env
  • Ideally would include all relevant customizable variables as noted here: https://github.com/davidalger/warden#customizing-an-environment
@davidalger davidalger added the enhancement New feature or request label Oct 29, 2019
@davidalger davidalger added this to the Warden 0.2.0 milestone Jan 6, 2020
davidalger added a commit that referenced this issue Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant