Renamed pull to install

This commit is contained in:
netbenix 2021-11-20 15:56:57 +01:00
parent d37dbddb40
commit f5af0b4802

View file

@ -1,28 +0,0 @@
package Commands
import (
"github.com/urfave/cli/v2"
"lpm-cli/Lotus"
)
func NewPullCommand() *cli.Command{
logger := Lotus.Logger("pullCommand")
return &cli.Command {
Name: "pull",
Usage: "Pull a package",
Description: "Pulls a package from the a registry server.",
HelpName: "pull",
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
},
}
}