More adaptive defaults for modcheck CLI#24
Merged
tildejustin merged 5 commits intotildejustin:mainfrom Jan 28, 2026
Merged
Conversation
Slackow
commented
Jan 19, 2026
- Use environment variable INST_DIR directly if available, 100% resistant against spaces in paths
- Change default category to ssg if instance name contains "ssg"
- Get version from mmc-pack.json if possible
- avoid some errors when trying to read prism version - replace printing and exiting with utility method to do both - print to standard error where appropriate - printing help function now also exits
Author
|
Just also commited:
|
include variations of "set-seed" in instance name check
Author
|
last commit added it so that if unspecified, the category is automatically set to ssg if ssg-only mods are detected, this does mean all the fabric.mod.json's are fetched twice atm, it's probably a good idea to add a cache for that |
Owner
|
if it matters it matters, but no need to make it complicated if it doesn't |
tildejustin
approved these changes
Jan 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.