https://github.com/maxludden/rich-gradient-cli
https://github.com/maxludden/rich-gradient-cli
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/maxludden/rich-gradient-cli
- Owner: maxludden
- Created: 2026-02-10T03:38:21.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2026-02-10T06:46:17.000Z (4 months ago)
- Last Synced: 2026-02-10T09:41:29.355Z (4 months ago)
- Language: HTML
- Size: 704 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rich-gradient-cli
`rich-gradient-cli` is a CLI for [`rich-gradient`](https://github.com/maxludden/rich-gradient). The tool allows you to create colorful gradients in your terminal output, making it easier to visualize data or simply add some flair to your command-line applications.
## Installation
You can install rich-gradient-cli from PyPI
### uv (recommended)
```shell
uv add rich-gradient-cli
```
### pip
```shell
pip install rich-gradient-cli
```
## Usage
### Print
To use the `rich-gradient-cli`, you can run the following command in your terminal:
```bash
gradient print --colors 'red,#ff9900,#ffff00' "This is gradient text that starts red, transitions through orange, and ends in yellow\!"
```

### Rule
You can also create gradient rules using the `rule` command:
```bash
gradient rule --colors 'blue,#00ff00,cyan' "Blue to Green to Cyan Rule"
```

### Panel
To create a gradient panel, you can use the `panel` command:
```bash
gradient panel --colors "red,#ff9999" -t "Error" --title-style "bold #ffffff" --title-align left 'This is an error message with a red to pink gradient background.'
```

### Markdown
You can also render Markdown with gradients:
```bash
echo "# Hello\n\n- This is **bold**.\n- This is *italic*." | gradient markdown -
```

## Docs
Build and preview the documentation locally with MkDocs:
```bash
uv pip install -e ".[docs]"
mkdocs serve
```