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
11

DESCRIPTION

13       fish_indent  is  used to indent a piece of fish code. fish_indent reads
14       commands from standard input or the given filenames and outputs them to
15       standard output or a specified file (if -w is given).
16
17       The following options are available:
18
19       -w or --write
20              Indents a specified file and immediately writes to that file.
21
22       -i or --no-indent
23              Do not indent commands; only reformat to one job per line.
24
25       -c or --check
26              Do  not indent, only return 0 if the code is already indented as
27              fish_indent would, the number of failed  files  otherwise.  Also
28              print the failed filenames if not reading from standard input.
29
30       -v or --version
31              Displays the current fish version and then exits.
32
33       --ansi Colorizes  the  output  using ANSI escape sequences, appropriate
34              for the current TERM, using the colors defined in  the  environ‐
35              ment (such as fish_color_command).
36
37       --html Outputs  HTML,  which supports syntax highlighting if the appro‐
38              priate CSS is defined. The CSS class names are the same  as  the
39              variable names, such as fish_color_command.
40
41       -d or --debug=DEBUG_CATEGORIES
42              Enable  debug  output  and  specify a pattern for matching debug
43              categories. See Debugging in fish (1) for details.
44
45       -o or --debug-output=DEBUG_FILE
46              Specify a file path to receive the debug output, including cate‐
47              gories and fish_trace. The default is standard error.
48
49       --dump-parse-tree
50              Dumps information about the parsed statements to standard error.
51              This is likely to be of interest only to people working  on  the
52              fish source code.
53
54       -h or --help
55              Displays help about using this command.
56
58       2023, fish-shell developers
59
60
61
62
633.6                              Dec 06, 2023                   FISH_INDENT(1)
Impressum