Open sierra-moxon opened 1 year ago
name replacement doesn't work for the project name either.
I just tried this using cruft create
and all default choices besides the project name = Project-X
(-
instead of _
) and I got
[tool.poetry.scripts]
Project-X = "project_x.cli:main"
Is this different from what you are seeing?
doing the same, in pyproject.toml I get:
[tool.poetry.scripts]
Project-X = "{{ cookiecutter.project_name|lower()|replace(' ', '_')|replace('-', '_') }}.cli:main"
@sierra-moxon , is this still happening?
still an issue?
is translated to: