Module options

Module options 

Source
Expand description

CLI option parsing.

Modules§

guess_language
Guess which programming language a file is written in.

Structs§

DisplayOptions

Enums§

BackgroundColor
ColorOutput
DisplayMode
Mode

Constants§

DEFAULT_BYTE_LIMIT
DEFAULT_GRAPH_LIMIT
DEFAULT_TAB_WIDTH

Functions§

detect_display_width
Choose the display width: try to autodetect, or fall back to a sensible default.
parse_args
Parse CLI arguments passed to the binary.
should_use_color