github.com/A-Oez/gpc


Install
go get github.com/A-Oez/gpc

Documentation

GoProjectCreator logo

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.

image

Installation

go install github.com/A-Oez/gpc@main

Example Command

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

Flags

  • --p: Specifies the name of the project (mandatory)
  • --db: Creates a database structure (optional) Currently available: Postgres
  • --code: Open project in code editor (optional)