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) } }