Documentation
¶
Overview ¶
Purpose: This file is the global command-line installer for the GoStack framework. It provides a single, lightweight binary — "gost" — that a developer installs once on their machine and uses to scaffold new GoStack projects from anywhere.
Philosophy: The pattern mirrors Laravel's global installer (`laravel new myapp`) and Django's project creator (`django-admin startproject myapp`). A single global binary is responsible only for project creation. Once a project exists, all further commands (migrate, make:model, make:controller, etc.) are run through the project-local CLI at `cmd/gostack/main.go`, which is compiled against the project's exact dependency versions.
Installation:
go install github.com/Charledeon77/gostack/cmd/gost@latest
Usage:
gost new <project-name> Interactive wizard (recommended) gost new <project-name> -n Headless / CI mode with smart defaults gost new <project-name> --db-engine=sqlite --no-interaction
Click to show internal directories.
Click to hide internal directories.