Tag

commander

1 views collected around this technical thread.

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.

CLITypeScriptcommander
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.

CLINode.jscommander
0 likes · 17 min read
Developing a Node.js CLI Scaffold: Tools, Package.json and Demo
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.

CLINode.jscommand-line tool
0 likes · 10 min read
How to Build Your Own Command-Line Tool with Node.js