Skip to content

Not Issue: Recomendation: Take a look at PackWrap #1

@Merith-TK

Description

@Merith-TK

https://github.com/Merith-TK/packwiz-wrapper/tree/main/cmd/pw

This is a tool i made in golang that wraps around the existing packwiz command, has a few features that I would reccomend taking a look at for inspiration,

A few of the ones I would reccomend looking at is reinstall.go, which I find useful when changing modloader or mc versions as it can reinstall the entire list and remove ones that dont port directly (which if you use git to track, makes it easy to tell which ones dont have support or have alternatives)

packwiz.go is just my handler for wrapping around packwiz, and its toml formats

modlist.go generates a modlist that can be helpful for people who dont want to do the modpack and instead want to manually do it (there are weirdos who insist for some reason)

main.go is the entrypoint of the program, just lits the args and the batch mode

import.go is helpful if the user has alot of open tabs and uses a tablist extension to export the tablist to import it en-mass

detectURL.go will attempt to autodetect the public url of the pack.toml file, based off where it was tracked with git.

build.go you might wanna look into for the multimc export option, since i noticed your tool doesnt actually handle that

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions