PrettyCLI
Wrap any CLI command with beautiful TUI output โ without rewriting the original tool.

โจ Features
- ๐จ Rich Colors โ Automatic syntax highlighting for output
- ๐ Pretty Tables โ Auto-format JSON/tabular data
- ๐ Progress Bars โ Wrap long-running commands
- ๐ Live Updates โ Stream output in real-time
- ๏ฟฝๅ
ผๅฎน Drop-in โ Works with any CLI tool
๐ Quick Start
# Install
go install github.com/12britz/pretty-cli@latest
# Basic usage
pretty kubectl get pods -n default
pretty docker ps
pretty ls -la
# With JSON pretty print
pretty kubectl get pods -o json | pretty
# Interactive mode
pretty --interactive kubectl get pods
๐ฆ Install
# From source
git clone https://github.com/12britz/pretty-cli
cd pretty-cli
go build -o pretty-cli .
# Or install via go install
go install github.com/12britz/pretty-cli@latest
๐ง Usage
# Wrap any command
pretty <your-command> [args...]
# Flags
-t, --table Output as table
-j, --json Parse JSON output
-p, --progress Show progress bar
-c, --colors Force colors
-h, --help Show help
# Examples
pretty docker ps # Pretty docker output
pretty kubectl get pods -o yaml # Colorized YAML
pretty curl api.example.com | pretty # Pipe JSON through
๐ Tech Stack
- Go โ Core language
- Bubble Tea โ TUI framework (charmbracelet)
- Lipgloss โ Terminal styling
- bubbles โ TUI components
๐ค Contributing
PRs welcome! Open an issue first for big changes.
๐ License
MIT License โ see LICENSE for details.
Built with ๐ by Britz