From 59694a263277c9de1dc483148e2ef88fc34f505b Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Mon, 13 May 2019 23:28:30 -0400 Subject: [PATCH] rename upload to scan --- main.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index 59c5a26..7b00a56 100644 --- a/main.go +++ b/main.go @@ -15,11 +15,11 @@ func main() { app.Commands = []cli.Command{ { - Name: "upload", + Name: "Scan", Aliases: []string{"u"}, - Usage: "Upload a directory's manifests", + Usage: "Scan a directory's manifests", Action: func(c *cli.Context) error { - return upload(c) + return scan(c) }, }, } @@ -30,11 +30,11 @@ func main() { } } -func upload(c *cli.Context) error { +func scan(c *cli.Context) error { directory := c.Args().First() fmt.Println(strings.Join(getAllManifests(directory), ", ")) - // TODO, actually upload, don't just print names + // TODO, actually scan, don't just print names return nil }