CLI: Add "photoprism vision reset" command to reset metadata #5233

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-09-29 18:59:52 +02:00
parent 114f4033e0
commit ee46794509
112 changed files with 2939 additions and 2274 deletions

View File

@@ -28,6 +28,9 @@ func TestMain(m *testing.M) {
log.SetLevel(logrus.TraceLevel)
event.AuditLog = log
// Remove temporary SQLite files before running the tests.
fs.PurgeTestDbFiles(".", false)
tempDir, err := os.MkdirTemp("", "commands-test")
if err != nil {
panic(err)