mirror of
https://github.com/photoprism/photoprism.git
synced 2025-10-17 22:30:55 +08:00
CLI: Add cluster operations and management commands #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -31,7 +31,7 @@ var ClientsResetCommand = &cli.Command{
|
||||
// clientsResetAction removes all registered client applications.
|
||||
func clientsResetAction(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