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-10-30 22:16:32 +02:00

32 lines
No EOL
588 B
Go

package main
import (
"github.com/urfave/cli/v2"
"lpm-cli/Commands"
"lpm-cli/Informations"
"lpm-cli/Tools"
"os"
)
func main() {
Tools.LoggerInit()
Tools.InfoLogger.Printf("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 {
Tools.ErrorLogger.Fatal(err)
}
}