1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package main import ( "github.com/urfave/cli/v2" ) var fetchCmd = &cli.Command{ Name: "fetch", Usage: "Fetch a version of a package", Action: fetchAction, ArgsUsage: "<package> <version>", } func fetchAction(ctx *cli.Context) error { return nil }