bat
A cat clone with syntax highlighting and Git integration
Text & File Viewing
Rust
cat, less를 대체함
bat is a cat replacement that supports syntax highlighting for a large number of programming and markup languages, Git integration, and automatic paging.
설치
brew
brew install bat
cargo
cargo install bat --locked
apt
apt install bat
데모
▶ GIF
Finding and Fixing a Bug — Part 2: Inspect and Review the Fix
@agentgif
▶ GIF
Exploring a New Codebase — Part 1: Project Overview
@agentgif
▶ GIF
Code Review Workflow — Part 2: Benchmark Before and After
@agentgif
▶ GIF
bat --diff — show Git changes with syntax highlighting
@agentgif
▶ GIF
bat — bat vs cat
@agentgif
▶ GIF
Finding and Fixing a Bug — Part 1: Search for the Error
@agentgif
▶ GIF
Code Review Workflow — Part 1: View Diff with delta
@agentgif
▶ GIF
Exploring a New Codebase — Part 2: Code Stats and File Tree
@agentgif
▶ GIF
cat — bat vs cat
@agentgif
▶ GIF
bat -l json — force a specific language for highlighting
@agentgif
▶ GIF
bat — Kanagawa theme
@agentgif
▶ GIF
bat — Nord theme
@agentgif
관련 도구
glow
Render Markdown on the CLI with glamour and style
mdcatcat for Markdown — render Markdown documents in the terminal
freezeGenerate images of code and terminal output — by Charm
siliconCreate beautiful image of your source code from the terminal
slidesTerminal-based presentation tool using Markdown
CharmThe Charm Tool — a set of tools to make the command line gl…