egghead
Learn
Courses
Lessons
Articles
⌘K
Account
Course / Pro
Get Started Building CLI Tools with Node.js
egghead
Learn
Courses
Lessons
Articles
⌘K
Sign in
1
Plan a Node.js CLI Tool Project with README Driven Development
2:23
2
Initialize a Node.js Project with NPM
2:12
3
Set the Node.js Project to ECMAScript Modules (ESM)
1:50
4
Parse User Input through Node.js process argv for Flags
3:11
5
Parse User Input in Node.js with readline
4:35
6
Assess and Choose a 3rd Party Library for your Node.js CLI Tool
3:10
7
Process User Input with Inquirer in Node.js
2:41
8
Assess and Choose Three Approaches to Reading from the File System in Node.js
3:45
9
Read a File with Node.js readFile from the File System and Parse Question and Answer
1:14
10
Log Question Results by using Node.js to Filter and Write to a File
2:44
11
Find a Random Element in a JSON File in Node.js
0:58
12
Add Question/Answer Object to our Data with Node.js writeFile
3:35
13
Offload Complex Logic and Confirm a Correct Answer with the User
2:43
14
Make a Node.js Script Globally Executable with a Shebang and a Symbolic Link
2:33
15
Handle Relative Paths in a Node.js ESM Project with import.meta.url
2:52
16
Use parseArgs to Parse your Command Line
1:46