Skip to content

feat: honor ADR_TEMPLATE env var for decree new - #9

Open
steven-cutting wants to merge 1 commit into
mainfrom
codex/implement-adr-template-env-override
Open

steven-cutting wants to merge 1 commit into
mainfrom
codex/implement-adr-template-env-override

Conversation

@steven-cutting

Copy link
Copy Markdown
Owner

Summary

  • allow decree new to source its template from the ADR_TEMPLATE environment variable when --template is not supplied
  • validate the provided template path before writing a record and surface clear errors when it is missing or unreadable
  • document the CLI vs environment precedence, add targeted CLI tests, and update the changelog

Testing

  • pytest -q
  • ruff check .
  • mypy .
  • nox -s tests (python3.11 interpreter unavailable; 3.12/3.13 sessions passed)

https://chatgpt.com/codex/tasks/task_e_68e4c6b003408326a4f64b31b6a012a3

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