GoProjectCreator is a CLI TUI tool created with Cobra to generate standard Go projects. Inspired by go-blueprint, it provides an easy way to create projects with predefined structures and configurations. The TUI (Text User Interface) is built using pterm.
go install github.com/A-Oez/gpc@main
To open the TUI:
- gpc tui
To create a project with a Postgres database structure:
- gpc create
--p
PROJECTNAME--db
Postgres--code
To create a basic project:
- gpc create
--p
PROJECTNAME--code
-
--p
: Specifies the name of the project(mandatory)
-
--db
: Creates a database structure(optional)
Currently available: Postgres -
--code
: Open project in code editor(optional)