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> 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
Rich Command: Apply Theme To File Display
rich <path/to/file.py> --theme <monokai> Rich Command: Display File In Interactive Pager rich <path/to/file.py> --pager Rich Command: Display File Syntax Highlighting rich <path/to/file.py> Rich Command: Display File With Line Numbers And Guides rich <path/to/file.py> --line-numbers --guides Rich Command: Display Url Contents With Markdown Pager rich {https://raw.githubusercontent.com/Textualize/rich-cli/main/README.md} --markdown --pager