This repository has been archived on 2026-03-18. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
lotus-package-manager/lpm-cli.go
2021-11-06 15:51:02 +01:00

33 lines
No EOL
581 B
Go

package main
import (
"github.com/urfave/cli/v2"
"lpm-cli/Commands"
"lpm-cli/Informations"
"lpm-cli/Tools"
. "lpm-cli/logging"
"os"
)
func main() {
Logger.Init()
Logger.Info("Lotus-PM was executed")
app := &cli.App {
Name: "lotus-pm",
Usage: "Lotus Package Manager",
Authors: Informations.GetAuthors(),
Copyright: "(c) 2021 LPM-Group",
Commands: []*cli.Command {
Commands.PushCommand(),
Commands.PullCommand(),
Commands.SearchCommand(),
Commands.ListCommand(),
},
}
err := app.Run(os.Args)
if err != nil {
Logger.Fatal(err)
}
}