added code to clone package manager

This commit is contained in:
2021-10-01 14:38:13 +04:00
parent be985942b9
commit fc5e834552
10 changed files with 250 additions and 9 deletions

View File

@@ -270,6 +270,15 @@ var CliAction = func(ctx *cli.Context) error {
}
//--------------------------------
if PullPlugin != "" {
err := plugin.DownloadPlugin(PullPlugin)
if err != nil {
fmt.Println(err)
} else {
fmt.Println("Success")
}
}
return nil