chore: auto-commit (7 archivos)
- app.md - call_monitor - main.go - operations.db - operations.db-shm - operations.db-wal - daemon.go Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"text/tabwriter"
|
||||
"time"
|
||||
)
|
||||
|
||||
const defaultDBName = "operations.db"
|
||||
@@ -75,6 +76,11 @@ func main() {
|
||||
LookbackDays: *lookback,
|
||||
Tools: tools,
|
||||
}, *persist, *formatJSON)
|
||||
case "daemon":
|
||||
registry := fs.String("registry", "", "Path to registry.db (default: walk up from cwd until found).")
|
||||
interval := fs.Duration("interval", 5*time.Minute, "How often to run snapshot+sequences cycle.")
|
||||
fs.Parse(os.Args[2:])
|
||||
runDaemon(resolveDB(*dbPath), *registry, *interval)
|
||||
case "-h", "--help", "help":
|
||||
usage()
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user