rich Verified for current stable LTS

Rich Command: Display Text With Formatting Alignment And Width

Use for display text with formatting alignment and width with Rich. Exact CLI syntax to display text with formatting alignment and width using Rich.

When to use this: Use for display text with formatting alignment and width with Rich.

Command Syntax

rich --print "<Hello [green on black]Stylized[/green on black] [bold]World[/bold]>" --<left|center|right> --width <10>

Command Breakdown

--print
Command Option
Tool-specific option used by this command invocation.
--<left|center|right>
Command Option
Tool-specific option used by this command invocation.
--width
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to display text with formatting alignment and width using Rich.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Rich directory