DOCS / CLI REFERENCE

cluck preen

Formats Cluck and YolkML files.

Synopsis

cluck preen [path] [--check]

Description

Formats Cluck and YolkML files. Preens the code so everything lies flat and tidy.

Options

FlagDescription
--checkExit non-zero if files need formatting
--a11yAlso fix common accessibility issues
--stdinRead from standard input

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 preen src
✔ Formatted 12 files (3 changed)

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