package Commands import ( "github.com/urfave/cli/v2" "lpm-cli/Lotus" ) func NewInstallCommand() *cli.Command{ logger := Lotus.Logger("pullCommand") return &cli.Command { Name: "install", Usage: "Installs a package", Description: "Installs a package from the a registry server.", HelpName: "install", Action: func(c *cli.Context) error { //Do Stuff return nil }, OnUsageError: func(c *cli.Context, err error, isSubcommand bool) error { if err != nil { logger.Fatal(err) } return err }, } }