summaryrefslogtreecommitdiff
path: root/internal/cli/cmd_tests.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-14 11:31:39 +0300
committerPaul Buetow <paul@buetow.org>2026-04-14 11:31:39 +0300
commit0b090c2698607fcdef039fb703c8c6bac5fceca0 (patch)
tree77b3ba27e9f07d128115cd5a41ac6c2f6db8c01b /internal/cli/cmd_tests.go
parent0165352a63cb2f78871c2e72d4f2fd4f111637c3 (diff)
refactor(cli): split run* handlers into files (ask 24)
Move runImport, runQuery, runReportFromFiles, runDaemon, runCreateClientKey, and runTests into dedicated cmd_*.go files. Keep Execute routing in cli.go. defaultListenFromEnv stays with daemon. Made-with: Cursor
Diffstat (limited to 'internal/cli/cmd_tests.go')
-rw-r--r--internal/cli/cmd_tests.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/cli/cmd_tests.go b/internal/cli/cmd_tests.go
new file mode 100644
index 0000000..643b515
--- /dev/null
+++ b/internal/cli/cmd_tests.go
@@ -0,0 +1,7 @@
+package cli
+
+import "codeberg.org/snonux/goprecords/internal/goprecords"
+
+func runTests() error {
+ return goprecords.RunIntegrationTests("./fixtures")
+}