pee/main.go

23 lines
417 B
Go
Raw Normal View History

2023-10-22 01:12:58 +05:30
package main
import (
"fmt"
"os"
2023-10-22 01:24:16 +05:30
projectconfig "github.com/xrehpicx/pee/config"
projectmanager "github.com/xrehpicx/pee/project-manager"
2023-10-22 01:12:58 +05:30
)
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)
}
}