IEEE-VIT / templa-rs

One-Stop Solution for all boilerplate needs!
MIT License
28 stars 22 forks source link

Fetching the submodules.json dynamically from the repo #7

Closed mintbomb27 closed 3 years ago

mintbomb27 commented 3 years ago

Currently, the submodules.json is static with the version of the compiled binary. If any changes in the submodules.json is made in the repo, the updated results aren't shown to the users.

To solve this, fetch the submodules.json from the repository and display live results.

Celeo commented 3 years ago

Would the fetch happen at the start of tui::render_tui?

mintbomb27 commented 3 years ago

Hey! Thanks a lot for showing interest.

The fetch can either happen at render_tui(), or before the rendering in main().