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)
|
2023-10-22 18:13:55 +05:30
|
|
|
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)
|
|
|
|
}
|
|
|
|
}
|