mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
CLI: Flatten config options output when using the "--json" flag #5220
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -4,12 +4,6 @@ import (
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
// JsonFlag enables machine-readable JSON output for cluster commands.
|
||||
var JsonFlag = &cli.BoolFlag{
|
||||
Name: "json",
|
||||
Usage: "print machine-readable JSON",
|
||||
}
|
||||
|
||||
// OffsetFlag for pagination offset (>= 0).
|
||||
var OffsetFlag = &cli.IntFlag{
|
||||
Name: "offset",
|
||||
|
||||
Reference in New Issue
Block a user