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

Command-Line Help for fatou

Fatou: a language server, formatter, and linter for Julia

Usage: fatou [OPTIONS] <COMMAND>

Options

--config <PATH>
Path to an explicit fatou.toml (skips discovery)
--no-config
Ignore any discovered fatou.toml and use built-in defaults

fatou parse

Parse and display the CST for debugging

Usage: fatou parse [OPTIONS] [FILE]

Arguments

<FILE>
Input file (stdin if not provided)

Options

--quiet

Suppress CST output to stdout

--verify

Verify parser losslessness (reconstruct(text) == text)

--to <TO>

Output representation: the lossless CST (default) or the JuliaSyntax s-expression projection (the parser oracle)

Default value: cst

Possible values:

  • cst: The lossless rowan concrete syntax tree
  • sexpr: The JuliaSyntax-native s-expression projection

fatou format

Format .jl files

Usage: fatou format [OPTIONS] [PATH]...

Arguments

<PATH>...
Input file(s) or path(s) (stdin if omitted)

Options

--check
Check formatting without writing; prints a diff and exits non-zero if any file would change
--line-width <N>
Override the target line width
--indent-width <N>
Override the indent width

fatou lint

Lint .jl files

Usage: fatou lint [OPTIONS] [PATH]...

Arguments

<PATH>...
Input file(s) or path(s)

Options

--check

Required in the groundwork phase: lint reports findings without writing fixes

--output <OUTPUT>

Output format

Default value: pretty

Possible values: pretty, concise, json

fatou lsp

Run the language server on stdio

Usage: fatou lsp