Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--sub-dir erroneously report a missing template.toml #52

Open
chevdor opened this issue Jul 2, 2021 · 2 comments
Open

--sub-dir erroneously report a missing template.toml #52

chevdor opened this issue Jul 2, 2021 · 2 comments

Comments

@chevdor
Copy link
Contributor

chevdor commented Jul 2, 2021

Trying to escape #51, I tested to see if the --sub-dir could help.

I tested a very basic template and the following works:

kickstart . -o /tmp   

Using --subdir however never worked although I provide a sub dir of the template

kickstart . --sub-dir .github  -o /tmp   

The error is:

Error: The template.toml is missing%                                                                                                             

We know the template is not missing and valid since the first test did work fine.

@Keats
Copy link
Owner

Keats commented Jul 2, 2021

See the original PR: #23

it's meant to be used when you have multiple templates in a directory so the subdir needs to be a template itself. It needs to be documented though.

@chevdor
Copy link
Contributor Author

chevdor commented Jul 2, 2021

I see, I did not expect this requirement indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants