pee/main.go

22 lines
376 B
Go
Raw Normal View History

2023-10-22 01:12:58 +05:30
package main
import (
"fmt"
"os"
projectconfig "pee/config"
projectmanager "pee/project-manager"
)
func init() {
projectconfig.Init()
projectmanager.RootCmd.AddCommand(projectmanager.ListProjects)
projectmanager.RootCmd.AddCommand(projectmanager.InitCmd)
}
func main() {
if err := projectmanager.RootCmd.Execute(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}