dict @ 1e36d1ba1ba9659ffd01e06e93ffee670f842ff8

 1package main
 2
 3import (
 4	"context"
 5	"log/slog"
 6	"os"
 7)
 8
 9func main() {
10	ctx := context.Background()
11
12	if len(os.Args) > 1 && os.Args[1] == "import" {
13		err := importDict(ctx, "main.dict")
14		if err != nil {
15			slog.Error("Error importing", "error", err)
16			return
17		}
18	} else {
19		err := run(ctx, "main.dict")
20		if err != nil {
21			slog.Error("Error running", "error", err)
22			return
23		}
24	}
25}