Skip to content

fix(cli): Update README and CLI for env file handling#22

Merged
JFusco merged 1 commit intomainfrom
feat/det-install
Apr 2, 2026
Merged

fix(cli): Update README and CLI for env file handling#22
JFusco merged 1 commit intomainfrom
feat/det-install

Conversation

@JFusco
Copy link
Copy Markdown
Collaborator

@JFusco JFusco commented Apr 2, 2026

fix(cli): Update README and CLI for env file handling

Summary (AI, bounded)

  • Update README.md and bin/cli.js to improve environment file handling in the CLI, as implemented in commit 7d6ca96

Changes

  • 7d6ca96 fix(cli): Update README and CLI for env file handling

Files changed

  • M README.md
  • M bin/cli.js

Diff stats

README.md  | 10 +++++-----
 bin/cli.js | 35 ++++++++++++++++++++---------------
 2 files changed, 25 insertions(+), 20 deletions(-)

Testing

  • Manual smoke test
  • CI green

Risk / Impact

  • Risk level: Low / Medium / High
  • Rollback plan:

Base: main → Head: feat/det-install

Suggested labels / Review checklist

Suggested labels: bug, cli, documentation

Review checklist:

  • Verify CLI environment file handling works as described
  • Check README updates for clarity and accuracy
  • Confirm no regressions in CLI functionality via manual smoke test
  • Ensure CI passes without errors

Clarify the behavior of the environment file merging process in the
README and CLI documentation. The changes specify that when `.env.local`
exists, it is the only target for merging ai-commit keys, and that
`.env` will not be created or updated in this case.

Additionally, the documentation now emphasizes that the `--force` option
will not replace `.env.local` with the bundled template, ensuring that
existing secrets are preserved. This improves user understanding of the
command's functionality and prevents potential data loss.

Refs #2
@JFusco JFusco marked this pull request as ready for review April 2, 2026 12:51
@JFusco JFusco merged commit d24b1bf into main Apr 2, 2026
3 checks passed
@JFusco JFusco deleted the feat/det-install branch April 2, 2026 12:51
@JFusco JFusco restored the feat/det-install branch April 2, 2026 12:51
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

🎉 This PR is included in version 2.5.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@JFusco JFusco deleted the feat/det-install branch April 2, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant