add data command and utility functions for type assertion and map key access

This commit is contained in:
adman
2026-05-05 15:28:40 +02:00
parent 94d15258d8
commit 0316b0aa09
3 changed files with 139 additions and 0 deletions
+2
View File
@@ -10,6 +10,7 @@ import (
"slices"
"github.com/admin-else/strom/cmd/strom/api"
"github.com/admin-else/strom/cmd/strom/data"
"github.com/admin-else/strom/cmd/strom/extract_mca"
"github.com/admin-else/strom/cmd/strom/offline_uuid"
"github.com/admin-else/strom/cmd/strom/packet_inspector"
@@ -41,6 +42,7 @@ var subcommands = map[string]func(args []string) error{
"api": api.Run,
"version": Version,
"extract-mca": extract_mca.Run,
"data": data.Run,
}
func Help(args []string) (err error) {