termshot

Creates screenshots of terminal command output with customizable styling

brewmacoslinux
Try with needOr install directly
Source

About

Creates screenshots based on terminal command output

Commands

termshot

Examples

Create a screenshot of a simple command output$ termshot 'ls -la'
Generate screenshot with custom dimensions and styling$ termshot --width 1200 --height 800 'npm run build'
Create screenshot and save to specific file$ termshot --output ~/screenshots/demo.png 'git log --oneline'