All apps/bat

bat

bat

A cat(1) clone with syntax highlighting and Git integration.

Runs as bat, batcat|macOS, Linux, Windows|github.com

Autocomplete

Fig spec, with what the manifest adds · 29 options
Published once and never changed; check the digest before caching
sha256
c415ccea419fae7d011f3d7d4873df4d1ee24d79c39041f5bc9e20457ec894e5
Size
7434 bytes
OptionsOn bat itself
-A--show-all
Show non-printable characters
-p--plain
Show plain style, no decorations
-l--language
Explicitly set the language for syntax highlighting <<language>>
-H--highlight-line
Highlight the specified line ranges <<N:M> >
--file-name
Specify the name to display for a file. Useful when piping data to bat from STDIN when bat does not otherwise know the filename <value>
-d--diff
Show lines that have been added/removed/modified with respect to the Git index
--diff-context
Include N lines of context around added/removed/modified lines when using '--diff' <<N> >
--tabs
Set the tab width to T spaces. Use a width of 0 to pass tabs through directly <<T> >
--wrap
Specify when to use colored output <<mode>>
--terminal-width
Explicitly set the width of the terminal instead of determining it automatically <<width> >
-n--number
Show line numbers, no other decorations
--color
Specify when to use colored output <<when>>
--italic-text
Specify when to use ANSI sequences for italic text in the output <<when>>
--decorations
Specify when to use the decorations that have been specified via '--style' <<when>>
-f--force-colorization
Alias for '--decorations=always --color=always'
--paging
Specify when to use the pager <<when>>
--pager
Determine which pager is used <<command>>
-m--map-syntax
Map a glob pattern to an existing syntax name <<glob:syntax>>
--ignored-suffix
Ignore extension <<ignored-suffix>>
--theme
Set the theme for syntax highlighting <<theme>>
--list-themes
Display a list of supported themes for syntax highlighting
--style
Display a list of supported themes for syntax highlighting
-r--line-range
Only print the specified range of lines for each file <<N:M> >
-L--list-languages
Display a list of supported languages for syntax highlighting
-u--unbuffered
Make output unbuffered (exists for POSIX-compliance reasons and is simply ignored)
--diagnostic
Show diagnostic information for bug reports
--acknowledgements
Show acknowledgements
-h--help
Print help message
-V--version
Show version information
ArgumentsPositional, in order
<value>
File(s) · repeatable · filepaths