mirror of
https://github.com/photoprism/photoprism.git
synced 2025-10-13 12:34:09 +08:00
CLI: Add cluster operations and management commands #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -34,7 +34,7 @@ var UsersResetCommand = &cli.Command{
|
||||
// usersResetAction deletes recreates the user management database tables.
|
||||
func usersResetAction(ctx *cli.Context) error {
|
||||
return CallWithDependencies(ctx, func(conf *config.Config) error {
|
||||
confirmed := ctx.Bool("yes")
|
||||
confirmed := RunNonInteractively(ctx.Bool("yes"))
|
||||
|
||||
// Show prompt?
|
||||
if !confirmed {
|
||||
|
Reference in New Issue
Block a user