Think Throo
Chapters
Think Throo
Chapters
Introduction
Index
Project setup
Add a CLI prompt
Install packages
Create a CLI prompt
Write colorful logs
Create logger.ts
Add spinner to your CLI
Add spinner
Write JSON to a file
Write JSON to a file
Build the package
Run the package locally
Steps
Complete the following steps to finish this lesson.
1
Initialize Commander.js
Mark as Completed
2
Add a create command
Mark as Completed
3
Add a prompt: "Would you like to write to a file?"
Mark as Completed
4
Register the "create" command
Mark as Completed
Home
Best practices
Build a CLI package
Challenge
Solution
Sign In