Renamed pull to install
This commit is contained in:
parent
d37dbddb40
commit
f5af0b4802
1 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in a new issue