Back to the blog

CLI from 'The Pragmatic Programmer' Book

A small CLI, built with bun, that prints a random tip from The Pragmatic Programmer every time I open the terminal.

Juliano Sirtori
1 min read

I am currently reading the book The Pragmatic Programmer: From Apprentice to Master, and to reinforce and remember the tips presented in it, I developed a small CLI that prints a tip from the book daily in the terminal.

I have set up the CLI in my terminal initialization file (.zshrc), so every time I open it, a random tip is displayed.

I also took the opportunity to use "bun." For those who don't know, bun is a competitor to Node.js.

You can download the CLI on GitHub.

Terminal showing the use of cowsay-pragmatic-programmer, displaying a quote

Notas do Juliano

A newsletter about whatever I feel like sharing, every two weeks.

In English, every two weeks. Confirm your email to get started. Unsubscribe anytime.

Liked it? Leave a reaction

Be the first to react

Read next

Let's talk?

Questions, suggestions or a different approach? Leave a comment.

Comments via GitHub. Loaded only when you open them.