© 2026 Hashnode
I wanted to find out how shadcn-ui CLI works. In this article, I discuss the code used to build the shadcn-ui/ui CLI. In part 2.7, we looked at function isTypescriptProject this function checks if the cwd (current working directory) has a tsconfig.js...

We will walk through the process of creating a Node.js Command-Line Interface (CLI) tool that generates random data using the faker library. Additionally, we'll enhance the output using the chalk library to add color and style to the command-line int...
