introduce a template name flag/variable
Open
Nobody has claimed this yet.
feature
P3
- Dominant language
- Python
- Stars
- 18.8k
- Forks
- 2.8k
- Avg merge
- 16h 26m
- Merged PRs (30d)
- 21
Description
Currently it is (as far as I can see from templategen/definitions.py and templategen/__init__.py) not possible after applying a template to find out which template was applied. It would be nice to have a flag/variable that can later be used for this purpose.
Contributor guide
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 by reading templategen/definitions.py and templategen/init.py, the locations cited in the issue, to trace how templates are applied. Determine where the applied template identity can be retained and exposed, then verify that callers can retrieve the template name after application.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100