cluster flags
Dependencies
Change contents
- edit in cmd/cluster.go at line 40[4.1100386][4.1100386]
cyclicPattern := fs.String("cyclic-recording-pattern", "", "Cyclic recording pattern ID (optional)") - edit in cmd/cluster.go at line 73[4.1101749][4.1101749]
}if *cyclicPattern != "" {input.CyclicRecordingPatternID = cyclicPattern - edit in cmd/cluster.go at line 96[4.1102471][4.1102471]
cyclicPattern := fs.String("cyclic-recording-pattern", "", "New cyclic recording pattern ID (optional, empty string clears it)")clearCyclicPattern := fs.Bool("clear-cyclic-recording-pattern", false, "Clear the cyclic recording pattern (set to NULL)") - edit in cmd/cluster.go at line 139[4.1103767][4.1103767]
}if *cyclicPattern != "" {input.CyclicRecordingPatternID = cyclicPattern} else if *clearCyclicPattern {empty := ""input.CyclicRecordingPatternID = &empty - edit in CHANGELOG.md at line 4[4.1198010][2.316464]
## [2026-05-13] Cluster CLI: expose cyclic recording pattern flag`cmd/cluster.go`: added `--cyclic-recording-pattern` to both `skraak cluster create` and `skraak cluster update`, plus `--clear-cyclic-recording-pattern` on update to set it to NULL. Underlying `tools.CreateOrUpdateCluster` already supported this — only the CLI surface was missing. Removes the need for direct SQL UPDATE or the MCP tool when wiring AudioMoth clusters to a recording pattern post-bulk-import.