Skip to content

Support helix init . and improve README#16

Merged
amrit110 merged 1 commit into
mainfrom
feat/helix-init-improvements
Mar 29, 2026
Merged

Support helix init . and improve README#16
amrit110 merged 1 commit into
mainfrom
feat/helix-init-improvements

Conversation

@amrit110
Copy link
Copy Markdown
Member

@amrit110 amrit110 commented Mar 29, 2026

Summary

  • scaffold() now handles name="." correctly: resolves the actual directory name for template substitutions, so helix init . in an existing repo produces name: my-project in helix.yaml rather than name: .
  • README "Writing your own helix" section rewritten to lead with the existing-repo workflow as the primary path, with from-scratch as a secondary option
  • Em-dashes removed from README for consistent style

Test plan

  • uv run python -m pytest — 201 passed
  • helix init . in an existing directory creates helix files with the correct project name

- scaffold() resolves "." to the directory's actual name for template
  substitutions, so helix init . works correctly in an existing repo
- README leads with the existing-repo workflow as the primary path;
  remove em-dashes for consistent style
- Add tests for dot-name scaffolding behaviour
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.07%. Comparing base (49fefb0) to head (3984132).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #16   +/-   ##
=======================================
  Coverage   99.06%   99.07%           
=======================================
  Files          10       10           
  Lines         645      646    +1     
=======================================
+ Hits          639      640    +1     
  Misses          6        6           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@amrit110 amrit110 merged commit 86bb70b into main Mar 29, 2026
4 checks passed
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

Successfully merging this pull request may close these issues.

1 participant