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

URL download option #168

Open
1 task done
davestewart opened this issue Jun 3, 2024 · 0 comments
Open
1 task done

URL download option #168

davestewart opened this issue Jun 3, 2024 · 0 comments

Comments

@davestewart
Copy link

davestewart commented Jun 3, 2024

Describe the feature

Hey Pooya,

Congrats on another exceptionally useful repository.

I regularly have need to download examples – not templates – from repos, for example:

These kind of examples folder setups are pretty common; I wonder if a direct URL download option could be added to the package, such as:

# download single folder
npx giget@latest https://github.com/wxt-dev/wxt-examples/tree/main/examples/vue

# download several folders
https://github.com/wxt-dev/wxt-examples/tree/main/examples/vue*

That way it's a super-easy copy/paste job.

Could perhaps the folders be filtered after the download of the main repo?

I took a look at the source files, and perhaps it might even be manageable for me to produce a PR!

LMK, and thanks again for all the great code 🙏

Additional information

  • Would you be willing to help implement this feature?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant