Skip to content

Latest commit

 

History

History
218 lines (124 loc) · 4.72 KB

toc.md

File metadata and controls

218 lines (124 loc) · 4.72 KB

NodeCLI.com

Pre-requisites

Recommended Software

CLI Fundamentals

CODE: 01-nodejs

  • What & why Node.js?
  • How does Node.js work?
  • Node.js Release Cycle
  • Node.js Version Management
  • n for installing Node.js & npm

CODE: 02-npx

  • npm and npx
  • Code your first CLI
  • Publish your CLI to npm
  • Cross-platform Clear
  • Semantic Versioning
  • CLI Welcome screen
  • CLI readme, keywords

CLI Styles & User Experience

  • CLI Colors
  • CLI Log Symbols
  • CLI Alerts Node Module Package

CLI Error Handling

  • Check Node version
  • Handle the unknown errors
  • Refactor CLI, IIFE, init()
  • Node Process & Exit Codes
  • Custom error handler

CLI Input/Output Processing

  • How Node.js Works?
  • Node Event Loop
  • Node Process
  • Node process.exit()
  • Node process.env
  • Node process.argv & CLI Input/Output
  • CLI Frameworks & meow
  • CLI Refactor Data
  • CLI Arguments & Flags

CLI UX

  • CLI Box Printing
  • CLI Data Fetching
  • Loading animations
  • CLI Fetch Blog posts

Advanced CLI

  • CLI User Input with Enquirer
  • CLI questions enquirer
  • CLI Command Execution: child_process
  • CLI Command Execution: execa cross platform
  • CLI Command Execution: shelljs
  • CLI Automatic help generation
  • CLI template generation
  • Scaffolding template CLI
  • Custom Code Generation CLI
  • Create Node Module

CLI Projects

  • Name CLI
  • Todo CLI
  • CLI as a Database
  • CLI JSON DB
  • Image CLI
  • Quiz CLI
  • Survey CLI
  • Get WiFi password CLI
  • Store config
  • Persist data
  • Pre configurable CLI
  • Supporting rc files .mypkgrc, .mypkgrc.json, or mypkg.config.js
  • Progress bar
  • Progress estimation
  • CLI UX Figlet Text
  • CLI Update Notification
  • CLI Graphs & Bar Charts

CLI Debugging & Testing

CODE: VID 38

  • Update node pkgs npm-check
  • CLI Debugging with VSCode
  • CLI Unit testing

CLI Production Ready

  • Why & How to open source
  • CLI Update notification
  • Release life cycle
  • Semantic versioning
  • Releasing a CLI
  • Release Notes
  • Changelogs