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

Fetch template at runtime #22

Open
owenthewizard opened this issue Apr 12, 2024 · 1 comment
Open

Fetch template at runtime #22

owenthewizard opened this issue Apr 12, 2024 · 1 comment

Comments

@owenthewizard
Copy link

I think it would be cool to add the (optional) ability to fetch the latest template at runtime, so that it could be updated without updating the binary.

@Kobzol
Copy link
Owner

Kobzol commented Apr 14, 2024

Yeah, that could be useful, however it's relatively complex (introducing network requests into the CLI app, handling timeouts, offline mode, deciding how often to check, handling security of the remote side etc.), and the current templates haven't been changing often so far. Eventually, it would be nice if cargo-wizard had the ability to load templates from some config files on disk, and it could then download the newest files from GitHub directly.

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

2 participants