stub out configure

This commit is contained in:
Tyrel Souza 2019-05-13 23:59:51 -04:00 committed by Tyrel Souza
parent 52d3657c21
commit 3b0cd40553
No known key found for this signature in database
GPG Key ID: 5A9394D4C30AEAC0
2 changed files with 9 additions and 1 deletions

10
main.go
View File

@ -16,7 +16,7 @@ func main() {
app.Commands = []cli.Command{ app.Commands = []cli.Command{
{ {
Name: "scan", Name: "scan",
Aliases: []string{"u"}, Aliases: []string{"s"},
Usage: "Scan a directory's manifests", Usage: "Scan a directory's manifests",
Action: func(c *cli.Context) error { Action: func(c *cli.Context) error {
if len(c.Args()) > 0 { if len(c.Args()) > 0 {
@ -25,6 +25,14 @@ func main() {
return cli.NewExitError("no directory provided", 5) return cli.NewExitError("no directory provided", 5)
}, },
}, },
{
Name: "configure",
Aliases: []string{"c"},
Usage: "Configure the app",
Action: func(c *cli.Context) error {
return cli.NewExitError("No Configuration provided", 4)
},
},
} }
err := app.Run(os.Args) err := app.Run(os.Args)

Binary file not shown.