Usage
“Once you’ve got a task to do, it’s better to do it than live with the fear of it.”
— Joe Abercrombie, The Blade Itself
Format files in place:
ceru src/
ceru src/myfile.tl
Check whether files would be reformatted (exits 1 if any would change):
ceru --check src/
Flags
| Flag | Default | Description |
|---|---|---|
--check | off | Report files that would be reformatted; exit 1 if any |
--indent <n> | 4 | Indentation width in spaces |
--line-length <n> | 88 | Target line length |
--no-sort-requires | - | Disable sorting of require statements |
--help, -h | - | Show help message and exit |
--version, -v | - | Print version and exit |