forked from minecrust/hopper
[ ]
c12be7b126
Which comes with basic hopfile support. I went back and forth a lot on the best layout but eventually stuck mostly to how it was described in the README. There are still a lot of questions surrounding the best format for this file and what info it should and should not store. For example: should currently installed versions be stored here? what about project IDs rather than names? Regarding sources, I settled on a simple string format of "provider:modname" where provider can currenly only be "modrinth" with the expectation that other recognised sources may exist in future. Regarding the init command itself, I decided to avoid updating any existing file since that seemed like a predicatable and non-destructive implementation. I also briefly considered dropping the output location and having the file be written to stdout so that it could written by the shell, but stuck with the README once again. |
||
---|---|---|
.. | ||
api.rs | ||
client.rs | ||
config.rs | ||
hopfile.rs | ||
main.rs |