Software
cli

cli

Tools for making beautiful & useful command line interfaces

R

The cli package provides tools for building command line interfaces in R using semantic elements like headers, lists, alerts, and paragraphs. It supports terminal styling through ANSI colors and font attributes, making console output more readable and visually organized.

The package integrates with the glue package for string interpolation, supports automatic pluralization of messages, and includes progress bars that work from both R and C code. It offers CSS-like theming for customizing the appearance of CLI elements and provides Unicode symbols with ASCII fallbacks for broader terminal compatibility. The package handles both high-level semantic formatting and lower-level primitives like rules, boxes, and trees.

Contributors