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:
@@ -20,7 +20,7 @@ const backupDescription = `A custom filename for the database backup (or - to se
|
||||
will be automatically determined based on the current configuration.`
|
||||
|
||||
// BackupCommand configures the command name, flags, and action.
|
||||
var BackupCommand = cli.Command{
|
||||
var BackupCommand = &cli.Command{
|
||||
Name: "backup",
|
||||
Description: backupDescription,
|
||||
Usage: "Creates an index database backup and/or album YAML backup files",
|
||||
|
||||
Reference in New Issue
Block a user