# Functions
ColorModeBeforeCommand is a plugin function that delays color profile selection based on our CLI flag and terminal profile detection until the last minute, just before the selected command runs.
ColorModeSetupCLI is a plugin function that registers the CLI "color" flag.
PrepareForTest needs to be called during test setup in order to correctly initialize styling to a well-known minimal state suitable for testing.
ProcessName returns the "name" of a process for display, based on the display mode in procNameMode.
ProcModeSetupCLI is a plugin function that registers the CLI "--proc" flag.
ThemeBeforeCommand is a plugin function that handles selection, reading, or dumping of styling profiles, just before the selected command runs.
ThemeSetupCLI is a plugin function that registers the CLI flags related to theming.
TreeStyleBeforeCommand is a plugin function that handles selection, reading, or dumping of styling profiles, just before the selected command runs.
TreeStyleSetupCLI is a plugin function that registers the CLI "treestyle" flag.
# Constants
always colorize.
colorize if output goes to a terminal.
never colorize.
Enumeration of allowed ProcNameMode values.
Enumeration of allowed ProcNameMode values.
Enumeration of allowed ProcNameMode values.
default dark (background) theme.
light (background) theme.
simple ASCII tree style.
default tree line style.
# Variables
styles cgroup: namespaces.
styles container names/IDs.
control group names/references.
styles ipc: namespaces.
styles mnt: namespaces.
NamespaceStyler styles namespace hierarchies (trees) using the selected tree style.
styles net: namespaces.
styles owner username and UID.
styles bindmounted/procfs path references.
styles pid: namespaces.
styles process names.
Styles maps style configuration top-level element names to their corresponding Style objects for storing and using specific style information.
styles task names.
styles time: namespaces.
styles undetermined elements, such as unknown PIDs.
user: namespaces with effective capabilities.
user: namespaces with full capabilities.
user: namespaces without capabilities.
styles user: namespaces.
styles uts: namespaces.
# Structs
Style represents a set of style settings to apply to text or value when rendering to a terminal supporting ANSI coloring and styling.
StyledValue represents a styled value which can be formatted in different formats, such as decimal, string, quoted string, et cetera.
# Type aliases
ColorMode is an enumeration for colorizing output always, auto(matic), and never.
ProcNameMode is an enumeration setting the process name display mode.
Theme is an enumeration for selecting either a light or dark theme.
TreeStyle is an enumeration for selecting a specific tree style.