1FISH_INDENT(1)                    fish-shell                    FISH_INDENT(1)
2
3
4

NAME

6       fish_indent - indenter and prettifier
7

SYNOPSIS

9          fish_indent [OPTIONS] [FILE...]
10

DESCRIPTION

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