Store your Minecraft configs with your other dotfiles, and load it automatically.
1package cli
2
3import (
4 "context"
5 "os"
6
7 "github.com/charmbracelet/log"
8 "github.com/urfave/cli/v3"
9)
10
11var rootCommand = cli.Command{
12 Name: "dmc", // TODO? short name?
13 Authors: []any{
14 "banana", "rad",
15 },
16 Copyright: "(c) 2025 potassium.sh",
17 Description: "Store your Minecraft configs with your other dotfiles, and load them automatically.",
18 Commands: []*cli.Command{
19 syncCommand,
20 },
21}
22
23func Run() {
24 if err := rootCommand.Run(context.Background(), os.Args); err != nil {
25 log.Fatal(err)
26 }
27}