Tagged articles
5 articles
Page 1 of 1
TAL Education Technology
TAL Education Technology
Mar 16, 2023 · Frontend Development

Building a Frontend Scaffolding Tool from Scratch with Node.js and TypeScript

This article walks through creating a Node.js‑based TypeScript CLI scaffolding tool for frontend projects, covering background, project template setup, TypeScript configuration, package scripts, command‑line parsing with Commander, interactive prompts with Inquirer, code retrieval via download‑git‑repo, shell execution, and final logo rendering, all illustrated with concrete code examples.

CLICommanderTypeScript
0 likes · 13 min read
Building a Frontend Scaffolding Tool from Scratch with Node.js and TypeScript
DaTaobao Tech
DaTaobao Tech
Sep 13, 2022 · Backend Development

Developing a Node.js CLI Scaffold: Tools, Package.json and Demo

This guide walks you through building a custom Node.js CLI scaffold using commander, chalk, inquirer, ora, and download‑git‑repo, explains essential package.json fields like bin and engines, and provides a complete demo that prompts users, downloads templates, and initializes projects ready for global installation.

CLICommanderNode.js
0 likes · 17 min read
Developing a Node.js CLI Scaffold: Tools, Package.json and Demo
Code DAO
Code DAO
Apr 30, 2022 · Backend Development

Building an Extensible Node.js CLI Tool Using the Command Pattern

The article walks through creating a lightweight, extensible Node.js command‑line utility without third‑party libraries, covering the command‑pattern design, implementation of split, upper, and word‑count commands, dynamic command loading, and best practices for modular, maintainable CLI development on Linux.

CLICommand PatternCommander
0 likes · 12 min read
Building an Extensible Node.js CLI Tool Using the Command Pattern
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Nov 15, 2018 · Backend Development

How to Build Your Own Command-Line Tool with Node.js

This guide explains what a command-line interface (CLI) tool is, why developers prefer CLI over GUI for efficiency, and provides a step‑by‑step tutorial for creating a simple Node.js‑based CLI, covering project setup, command registration, argument parsing, version handling, interactive prompts, shell script execution, and network proxy management.

CLICommanderNode.js
0 likes · 10 min read
How to Build Your Own Command-Line Tool with Node.js
Aotu Lab
Aotu Lab
Aug 10, 2016 · Backend Development

Master Node.js CLI Development with Commander, Inquirer, and Chalk

This guide walks you through setting up a Node.js project and using the commander, inquirer, and chalk packages to build, configure, and style powerful command‑line tools, including global installation, custom help, interactive prompts, and colored output.

CLICommanderJavaScript
0 likes · 12 min read
Master Node.js CLI Development with Commander, Inquirer, and Chalk