stub out configure
This commit is contained in:
parent
52d3657c21
commit
3b0cd40553
10
main.go
10
main.go
@ -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)
|
||||||
|
BIN
tideliftcli
BIN
tideliftcli
Binary file not shown.
Loading…
Reference in New Issue
Block a user