A command line tool to easily update Minecraft forge mods.
mod_updater [--config config_path]
If no config path is given, then the default is config.json
in the current directory.
The config describes where the mods are located so they can be downloaded easily
{
"mods_dir": "mods",
"mods": [
{
"source": "GITHUB",
"owner": "snallapa",
"repo": "scentfindermod"
}
]
}
The mods_dir
is where the mods should be downloaded. For servers, this will usually be mods
and for clients, this would be OS dependent.
These describe where the mod should be downloaded from. As of now there is only support for GithubSource
to download latest releases.
{
"source": "GITHUB",
"owner": "snallapa",
"repo": "scentfindermod"
}
More sources would want to be added in the future.
To run the test suite, run the following in the project root directory:
python -m unittest