Skip to content

How to Use

Guide

Gen-G is designed with user-friendliness as a priority, making it straightforward to use. Like most command-line interface (CLI) tools, it follows a specific pattern:

bash
geng command [flag]

You can get the list of command using:

bash
geng help

Output

bash
geng is a CLI library for Go that empowers applications.

Usage:
  geng [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  gen         Create a new domain
  help        Help about any command
  infra       Add a new infrastructure
  migrate     migrate the project
  new         Create a new project
  run         Run the project
  seed        Seed the project
  service     Add a new Service
  start       Execute the project

Flags:
  -h, --help   help for geng

Use "geng [command] --help" for more information about a command.

Please refer to the dedicated section of each command.