Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

FlagDefaultDescription
--checkoffReport files that would be reformatted; exit 1 if any
--indent <n>4Indentation width in spaces
--line-length <n>88Target line length
--no-sort-requires-Disable sorting of require statements
--help, -h-Show help message and exit
--version, -v-Print version and exit