DefangLabs / DefangLabs/defang
pick up `.env.STACK` automatically
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 166
- Forks
- 24
- Avg merge
- 10h 8m
- Merged PRs (30d)
- 33
Description
The Defang CLI could pick up .env.STACK automatically, eg. defang up -s lio would read .env.lio. We could even allow $STACK within the .env for parameterization. STACK is the stack name.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the CLI entry point for defang up and its -s stack flag, then trace how environment files are loaded. Done should mean that defang up -s <STACK> reads .env.<STACK>; clarify whether $STACK expansion is also required before implementing and testing the chosen behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100