1fish_indent(1) fish fish_indent(1)
2
3
4
6 fish_indent
7
9 Synopsis
10 fish_indent [OPTIONS]
11
12 Description
13 fish_indent is used to indent a piece of fish code. fish_indent reads
14 commands from standard input and outputs them to standard output or a
15 specified file.
16
17 The following options are available:
18
19 · -w or --write indents a specified file and immediately writes to that
20 file.
21
22 · -i or --no-indent do not indent commands; only reformat to one job
23 per line.
24
25 · -v or --version displays the current fish version and then exits.
26
27 · --ansi colorizes the output using ANSI escape sequences, appropriate
28 for the current $TERM, using the colors defined in the environment
29 (such as $fish_color_command).
30
31 · --html outputs HTML, which supports syntax highlighting if the
32 appropriate CSS is defined. The CSS class names are the same as the
33 variable names, such as fish_color_command.
34
35 · -d or --debug-level=DEBUG_LEVEL enables debug output and specifies a
36 verbosity level (like fish -d). Defaults to 0.
37
38 · -D or --debug-stack-frames=DEBUG_LEVEL specify how many stack frames
39 to display when debug messages are written. The default is zero. A
40 value of 3 or 4 is usually sufficient to gain insight into how a
41 given debug call was reached but you can specify a value up to 128.
42
43 · --dump-parse-tree dumps information about the parsed statements to
44 stderr. This is likely to be of interest only to people working on
45 the fish source code.
46
47Version 3.0.2 Sun Feb 24 2019 fish_indent(1)