DOCS / CLI REFERENCE

cluck hatch

Generates a new project from a Hatchback template.

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

FlagDescription
--name NProject name
--listList available templates
--from URLUse 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

0Success. A quiet cluck.
1The command ran but reported a problem, such as a failing check.
2Bad usage: a flag was missing or invalid.
3Authentication or permission error. See HEN-2001.

Used in guides

Common errors

Related commands