mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
CLI: Add RunWithTestContext function for command tests #3168
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -18,7 +18,7 @@ import (
|
||||
)
|
||||
|
||||
// ResetCommand configures the command name, flags, and action.
|
||||
var ResetCommand = cli.Command{
|
||||
var ResetCommand = &cli.Command{
|
||||
Name: "reset",
|
||||
Usage: "Resets the index, clears the cache, and removes sidecar files",
|
||||
Flags: []cli.Flag{
|
||||
|
||||
Reference in New Issue
Block a user