mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Improve command package comments (#251)
This commit is contained in:
committed by
GitHub
parent
89e44def83
commit
4fe5aaaccd
@@ -11,7 +11,7 @@ import (
|
||||
"github.com/urfave/cli"
|
||||
)
|
||||
|
||||
// indexes all photos in originals directory (photo library)
|
||||
// IndexCommand is used to register the index cli command
|
||||
var IndexCommand = cli.Command{
|
||||
Name: "index",
|
||||
Usage: "Indexes media files in originals path",
|
||||
@@ -26,6 +26,7 @@ var indexFlags = []cli.Flag{
|
||||
},
|
||||
}
|
||||
|
||||
// indexAction indexes all photos in originals directory (photo library)
|
||||
func indexAction(ctx *cli.Context) error {
|
||||
start := time.Now()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user