Artifact 029f54ddb428f62df09ffd58490c75efc93dec91632efe3963f5155864ce7f1d:
- File
cmd/edgesync/sync_now.go
— part of check-in
[eda7960b81]
at
2026-04-23 19:23:42
on branch trunk
— rename module to github.com/danmestas/EdgeSync
Fix the case-sensitive module path to match the actual GitHub repo URL (danmestas/EdgeSync). Remove tracked leaf/leaf binary and ignore .claude/skills/ scratchpad dirs. (user: [email protected], size: 329) [annotate] [blame] [check-ins using] [more...]
package main import ( "fmt" "syscall" "github.com/danmestas/libfossil/cli" ) type SyncNowCmd struct { PID int `arg:"" help:"PID of running agent to signal"` } func (c *SyncNowCmd) Run(g *cli.Globals) error { if c.PID <= 0 { return fmt.Errorf("invalid PID: %d", c.PID) } return syscall.Kill(c.PID, syscall.SIGUSR1) }