Improve command package comments (#251)

This commit is contained in:
François d'Yvoire
2020-02-18 22:42:51 +00:00
committed by GitHub
parent 89e44def83
commit 4fe5aaaccd
11 changed files with 31 additions and 12 deletions

View File

@@ -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()