Synopsis
cluck hatch <template> [--name N]
Description
Generates a new project from a Hatchback template. Templates are directories with a hatch.yolk file describing the questions to ask.
Options
| Flag | Description |
|---|---|
--name N | Project name |
--list | List available templates |
--from URL | Use a template from a Git URL |
All commands also accept the global flags --coop, --json, --quiet, and --no-color, plus --help, which prints this page in a smaller font.
Example
$ cluck hatch api --name orders
✔ Template [email protected]
✔ Hatched orders/ (42 files)
Exit codes
| 0 | Success. A quiet cluck. |
|---|---|
| 1 | The command ran but reported a problem, such as a failing check. |
| 2 | Bad usage: a flag was missing or invalid. |
| 3 | Authentication or permission error. See HEN-2001. |