People: Add autocomplete for selecting a person #22

This commit is contained in:
Michael Mayer
2021-09-03 16:14:09 +02:00
parent 68f21146ba
commit c520cb4ee4
35 changed files with 992 additions and 682 deletions

View File

@@ -18,20 +18,20 @@ import (
// IndexCommand registers the index cli command.
var IndexCommand = cli.Command{
Name: "index",
Usage: "Indexes media files in originals folder",
UsageText: `To limit scope, a sub folder may be passed as first argument.`,
Usage: "indexes media files in the originals folder",
ArgsUsage: "[path]",
Flags: indexFlags,
Action: indexAction,
}
var indexFlags = []cli.Flag{
cli.BoolFlag{
Name: "all, a",
Name: "force, f",
Usage: "re-index all originals, including unchanged files",
},
cli.BoolFlag{
Name: "cleanup",
Usage: "removes orphan index entries and thumbnails",
Name: "cleanup, c",
Usage: "remove orphan index entries and thumbnails",
},
}