unjs / giget

✨ Download templates and git repositories with pleasure!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dispose: delete pre-created folders when the template does not exist

peterroe opened this issue · comments

commented

Describe the feature

When trying to giget a template that doesn't exist,

$ giget gh:unjs/empty

the folder ends up being created:

|- unjs-empty

Should we make the behavior of giget and git consistent, Clear the pre-created folder when the template doesn't exist ?

Additional information

  • Would you be willing to help implement this feature?