Describe the bug
If the user does not give a name for template then they will see the error:cannot pick working directory for non-bare repository that isn't a '.git' directory; class=Repository (6)
To Reproduce
Steps to reproduce the behavior:
Go to templa-rs directory and try to execute the command
cargo run --
Select any of the templates and hit enter
You will see the error cannot pick working directory for non-bare repository that isn't a '.git' directory; class=Repository (6)
Expected behavior
The name of the boilerplate-template should be used instead of the error
Describe the bug If the user does not give a name for template then they will see the error:
cannot pick working directory for non-bare repository that isn't a '.git' directory; class=Repository (6)
To Reproduce Steps to reproduce the behavior:
cargo run --
cannot pick working directory for non-bare repository that isn't a '.git' directory; class=Repository (6)
Expected behavior The name of the boilerplate-template should be used instead of the error
Screenshots