Populated CLI with initial GO

This commit is contained in:
Lucas
2025-12-14 21:01:12 -08:00
parent d491fbd1fe
commit bfcf8d271b
10 changed files with 296 additions and 2 deletions

21
cli/cli.go Normal file
View File

@@ -0,0 +1,21 @@
package cli
import "fmt"
func Run() error {
fmt.Println("Definitive Open Source CLI")
fmt.Println("1) Add new project")
var choice int
fmt.Print("Select an option: ")
fmt.Scanln(&choice)
switch choice {
case 1:
return AddProject()
default:
fmt.Println("Invalid option")
}
return nil
}