···11domain = "example.org"
22port = 8000
33#legal_notice_url = "https://example.org/legal"
44+# if you want to log HTTP 404 responses
55+#log_not_found = true
66+# if you want to log HTTP 400 responses
77+#log_bad_request = true
4859# if you are using valkey
610#[cache]
+1-10
cmd/lasad/main.go
···4040 if len(args) > 1 {
4141 next = args[1:]
4242 }
4343- for _, c := range commands {
4444- if c.Name == command {
4545- flags.Parse(next)
4646- next = flags.Args()
4747- c.Callback(next)
4848- return
4949- }
5050- }
5151- handleHelp()
5252- os.Exit(1)
4343+ internal.HandleCommands(command, next, commands, flags, handleHelp)
5344}
54455546func handleHelp() {