pretty-cli

command module
v0.0.0-...-98d8866 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2026 License: MIT Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README ยถ

PrettyCLI

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

Go Version License

โœจ 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

Documentation ยถ

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL