CLI Cookbook

100 common command-line tasks, solved with pip install evolver-tools. Zero dependencies, cross-platform.

← Back to evolver-tools
$ pip install evolver-tools
$ evtool --help # 262 tools ready
Python 3.8+ | Linux / macOS / Windows | Zero external dependencies
<<<<<<< HEAD
📦 262 CLI tools
=======
📦 258 CLI tools
>>>>>>> 1608f1debabdd173435d9e417b841e3b668004e0
0 external deps
🔢 18 categories
💻 Cross-platform

JSON — Parse, query, transform

Pretty-print JSON
$ echo '{"name":"cli","ver":2}' | json-pretty
Query JSON — jq-like field extraction
$ cat data.json | jsonql '.[].name'
Validate JSON
$ json-validate config.json
JSON to YAML
$ json2yaml data.json
JSON to CSV
$ json2csv data.json > output.csv
JSON to TOML
$ json2toml data.json
Diff JSON files
$ json-diff old.json new.json
Merge JSON objects
$ merge-json base.json patch.json

CSV — Slice, filter, analyze

View CSV as table
$ csv-view data.csv
Filter rows — column condition
$ csv-filter data.csv --column age --gt 18
Pretty CSV table
$ csv-pretty data.csv
Sort by column
$ csv-sort data.csv --column name
Column statistics
$ csv-stats data.csv
Remove duplicates
$ csv-dedup data.csv > clean.csv
Concatenate CSVs
$ csv-concat a.csv b.csv > merged.csv
Validate CSV
$ csv-validate data.csv

Text Processing — Transform, filter, format

Convert text case — snake ↔ camel ↔ kebab
$ echo "hello_world" | case-convert --camel
Word count
$ wordcount report.txt
Strip ANSI codes
$ ansi-strip < colored_output.txt
Diff lines — line-by-line comparison
$ diff-lines old.txt new.txt
Diff YAML files
$ diff-yaml config1.yaml config2.yaml
Markdown to HTML
$ markdown-to-html README.md
HTML to Markdown
$ html2markdown page.html
Strip HTML tags
$ html-strip page.html

Encoding & Crypto — Hash, encode, decode

Base64 encode/decode
$ echo "hello" | b64
$ echo "aGVsbG8=" | b64 -d
Base32 / Base58
$ echo "hello" | base32
$ echo "hello" | base58
Hex dump — classic hex + ASCII
$ hexdump binary.bin
Hash a file — SHA256/MD5/SHA1
$ hashsum file.iso
$ hashsum --sha512 file.iso
CRC32/CRC64 checksum
$ crc_check large-file.bin
Decode JWT token
$ jwt-decode "eyJhbGciOi..."
URL encode/decode
$ url-encode "hello world"
$ url-decode "hello%20world"
Morse code
$ morse "SOS"

Network — DNS, HTTP, ports, SSL

SSL cert expiry check
$ cert-check example.com
DNS lookup — A/AAAA/MX/NS records
$ dns-lookup example.com
Whois lookup
$ whois example.com
Geo-IP lookup
$ geo-ip 8.8.8.8
Port scan
$ scan-ports example.com --ports 22,80,443
Trace route
$ route-trace example.com
Subnet calculator
$ subnet 192.168.1.0/24
HTTP load test — siege-style
$ siege-lite https://api.example.com -c 10

File Operations — Find, sort, organize

Find large files
$ find-large /home --top 10
Find duplicates by hash
$ dedup-files /home/user
Directory sizes
$ dirsize /home/user
Tree view
$ tree /home/user --depth 2
Bulk rename — regex replace
$ ren "*.txt" --replace "old" "new"
Batch rename — prefix/suffix/number
$ batch-rename "*.jpg" --prefix "vac_"
Backup with rotation
$ backup /home/user --rotation 7
Chmod calculator
$ chmod-calc 755

System — CPU, memory, disk, processes

Live system monitor — TUI
$ sysmon
Disk usage
$ disk-usage
Network speed test
$ net-speed
Audit log viewer
$ audit-log --since "24h"
Disk cleanup — dry run first
$ disk-cleanup --dry-run
Code smell detector
$ smellfinder src/
Dev dashboard — project health TUI
$ dev-dashboard
Service checker
$ service-check --list

Date & Time — Timestamps, calendars, durations

Timestamp ↔ human date
$ epoch 1717200000
$ epoch now
Days between dates
$ date_diff 2024-01-01 2024-12-31
Calendar display
$ cal 2025 6
Date math — business days, ranges
$ chrono --from 2024-01-01 --add 45d
Cron expression helper
$ cron-pretty "*/15 * * * *"
Countdown timer
$ countdown 5m
Stopwatch
$ stopwatch
Cron job manager
$ cron --list

Format Conversion — Between 10+ formats

JSON ↔ YAML
$ json2yaml data.json
$ yaml2json config.yaml
JSON ↔ TOML
$ json2toml data.json
$ toml2json config.toml
JSON ↔ CSV
$ json2csv data.json
$ csv2json data.csv
YAML ↔ TOML
$ yaml2toml config.yaml
$ toml2yaml config.toml
INI → JSON
$ ini2json settings.ini
Markdown ↔ HTML
$ markdown-to-html README.md
$ html2markdown page.html
Color format — HEX↔RGB↔HSL
$ color-convert "#ff6600"
$ color-convert "rgb(255,102,0)"
Temperature
$ unit-convert temp 25 C F

Security — Audit, scan, encrypt

Code audit — security scan (TUI)
$ code-auditor src/
Scan for secrets — API keys, tokens
$ config-vault --scan .env
SSL cert details
$ cert-info example.com
TOTP generator — 2FA codes
$ otp-generator "JBSWY3DPEHPK3PXP"
Validate .env file
$ envcheck .env.template .env
Config validator
$ config-validator --strict config.yaml
Verify checksums
$ checksum-dir --verify sha256sums.txt
Encrypt file
$ crypto-box encrypt secret.txt

Development — Git, review, deps

Changelog from git
$ changelog-gen --from v1.0.0
Quick code review
$ code-review src/
Count lines by language
$ code-stats /path/to/project
Dependency graph
$ dep-graph src/ --format ascii
SQLite browser — interactive TUI
$ sqlite-cli my.db
Docker shortcuts
$ docker-helper ps
Project health check
$ project-doctor /path/to/project
Environment sorter
$ env-sorter .env > .env.sorted

Media & Visual — Charts, ASCII, colors

Terminal chart — bar/line/pie
$ chart-cli --type bar data.csv -c value
ASCII banner — 4 font styles
$ banner-gen "Hello" --font block
Cowsay
$ cowsay "Hello, World!"
256-color table
$ colors
Colorize text
$ echo "Hello" | colorize --red
ANSI to HTML
$ script-output | ansi-to-html > out.html
QR code in terminal
$ qr "https://example.com"
Emoji search
$ emoji-cli search rocket

CLI Utilities — Search, notebook, clipboard

Fuzzy-search tools
$ evtool search json
Terminal notebook — JSON notes
$ nb add "kubectl apply -f deploy.yaml"
$ nb search deploy
Clipboard manager
$ clipboard copy "text"
$ clipboard paste
Bookmark manager
$ bookmark add https://example.com
$ bookmark search docs
Password generator
$ random password 16
Progress bar — pipe-aware
$ long-cmd | progress-bar
Tool categories
$ evtool stats
Interactive fuzzy finder
$ ls | fzf-launch

Generators — Data, passwords, templates

Secure password — 20 chars
$ gen-password --length 20 --symbols
Lorem ipsum — placeholder text
$ lorem-ipsum --paragraphs 3
UUID generator — v4 bulk
$ uuid-gen --count 5
Color palette — from hex
$ palette "#3498db" --scheme complementary
Fake data generator
$ gen-data --rows 100 --format csv
ASCII art — 8 styles
$ ascii-gen "EVOLVER"
Dice roll — D6/D20/D100
$ dice-roll 2d20
Crypto prices — live
$ crypto-price BTC ETH

Ready to try it?

$ pip install evolver-tools
$ evtool search csv # find all CSV tools
$ evtool stats # see all categories
262 tools. Zero deps. Cross-platform. MIT license.