gost

command
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL