CLI: Upgrade github.com/urfave/cli from v1 to v2 #3168

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2024-12-05 17:15:59 +01:00
parent 3b61aba85d
commit 9eef183323
103 changed files with 1961 additions and 1642 deletions

View File

@@ -5,7 +5,7 @@ import (
"time"
"github.com/dustin/go-humanize/english"
"github.com/urfave/cli"
"github.com/urfave/cli/v2"
"github.com/photoprism/photoprism/internal/photoprism"
"github.com/photoprism/photoprism/internal/photoprism/get"
@@ -20,7 +20,7 @@ var CleanUpCommand = cli.Command{
}
var cleanUpFlags = []cli.Flag{
cli.BoolFlag{
&cli.BoolFlag{
Name: "dry",
Usage: "dry run, don't actually remove anything",
},