Store your Minecraft configs with your other dotfiles, and load it automatically.
1package main 2 3import ( 4 "fmt" 5 6 "potassium.sh/dot-mining/config" 7) 8 9 10 11func main() { 12 config := config.LoadConfig() 13 for modName, modID := range config.Fabric.Mods { 14 fmt.Printf("- %s: %s\n", modName, modID) 15 } 16}