diff --git a/cmd/main.go b/cmd/main.go index 6cb9661e..14316096 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -28,20 +28,41 @@ func Execute() { Usage: "The multiple runtime version manager", UsageText: usageText, Commands: []*cli.Command{ + // TODO: Flesh out all these commands &cli.Command{ Name: "plugin", + Action: func(cCtx *cli.Context) error { + log.Print("Foobar") + return nil + }, Subcommands: []*cli.Command{ &cli.Command{ Name: "add", + Action: func(cCtx *cli.Context) error { + log.Print("Baz") + return nil + }, }, &cli.Command{ Name: "list", + Action: func(cCtx *cli.Context) error { + log.Print("Bim") + return nil + }, }, &cli.Command{ - Name: "remove", + Name: "Lorem", + Action: func(cCtx *cli.Context) error { + log.Print("Foobar") + return nil + }, }, &cli.Command{ Name: "update", + Action: func(cCtx *cli.Context) error { + log.Print("Ipsum") + return nil + }, }, }, },