pee/main.go

24 lines
478 B
Go
Raw Permalink 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)
projectmanager.RootCmd.AddCommand(projectmanager.ScreenCmd)
2023-10-22 01:12:58 +05:30
}
func main() {
if err := projectmanager.RootCmd.Execute(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}