As a developer, you have many tasks that you repeat on a day to day or project to project basis whether that’s setting up boilerplate, configuring projects just right, or… [insert your own joyless repetitive task here].
There's that saying about how if you do something more than twice you should automate it. You don’t have the time or energy to waste repeating actions when you can make robots do it for you, precisely the way you need it.
But there’s a cost to automating any given task. You have to write and maintain code that will do your tasks for you. That means it’s incredibly difficult to leverage the knowledge you already have to add efficiency in your workflow.
Node.js has a huge ecosystem for you to leverage as well as a large API surface to handle a plethora of use cases.
This makes Node.js versatile but if you’re just learning to script this can be overwhelming.
When building a CLI there are a few common features that you’ll implement for most projects:
- Parse user input through the CLI
- Implement functionality based on flags
- Read/Write data to a file
- Execute your script globally in your system
This course will introduce you to these core CLI features while using Node.js.
In his course, Kevin walks you through building a
quizme CLI from scratch.
The CLI lets a user add questions and answer questions through the CLI. Through building this project, you’ll learn how to implement those common CLI features.
By the end of the course, you will be understand what a productive developer workflow looks like when reading user input, displaying data in the CLI, persisting data in a file, and more!