feat: add env init command that copies from template placeholders#516
feat: add env init command that copies from template placeholders#516
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #516 +/- ##
==========================================
+ Coverage 71.25% 71.38% +0.13%
==========================================
Files 222 223 +1
Lines 18682 18789 +107
==========================================
+ Hits 13311 13413 +102
- Misses 4190 4195 +5
Partials 1181 1181 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
mwbrooks
left a comment
There was a problem hiding this comment.
🙇🏻 Thanks a bunch for opening this PR! 🎉 I'm excited to see this one landing.
🧠 Could we swap "template placeholders" for "template file" or ".env template file"? "Placeholder" tends to imply a variable or token that gets substituted, which is a bit ambiguous here. Since we're copying the file verbatim, ".env template file" is more precise and the common convention in the wild from a little Claude research.
| }, "\n"), | ||
| Example: style.ExampleCommandsf([]style.ExampleCommand{ | ||
| { | ||
| Meaning: "Initialize environment variables from template placeholders", |
There was a problem hiding this comment.
suggestion: Minor suggestion to clarify that we're initializing from a file (plus it's shorter, haha).
| Meaning: "Initialize environment variables from template placeholders", | |
| Meaning: "Initialize environment variables from a template file", |
Changelog
Summary
This PR adds the
env initcommand that copies from template placeholders 🌲Preview
Included are expected cases and common edges to encounter! 🔬 ✨
⚡ Bolt Frameworks
🥀 ROSI Features
Testing
Checkout the changes of this branch and experiment with either a Bolt or Deno app:
Notes
Some follow up remains proposed to improve this but is left out of scope for this PR 🏁
project initought make setup a breeze it's been said 😉Requirements