Tag

inquirer

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 6, 2024 · Frontend Development

Building a Monorepo-Style Node.js CLI Scaffolding Tool for Frontend Projects

This comprehensive tutorial walks you through creating a Node.js command‑line scaffolding tool that uses yargs for argument parsing, inquirer for interactive prompts, copy‑dir for file operations, mustache for dynamic templates, and pnpm with ora for automated dependency installation, all organized in a monorepo structure.

CLIMonorepoMustache
0 likes · 30 min read
Building a Monorepo-Style Node.js CLI Scaffolding Tool for Frontend Projects
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.

CLIcommanderinquirer
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
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 13, 2021 · Frontend Development

Implementing Customizable and Upgradable Template Management in a Frontend CLI Tool

This article demonstrates how to design and develop a CLI tool that lets users add, update, list, and download customizable project templates, leveraging Inquirer for interactive prompts, download‑git‑repo for fetching repositories, and the GitHub API for branch selection, with full TypeScript code examples.

CLIGitHub APIdownload-git-repo
0 likes · 14 min read
Implementing Customizable and Upgradable Template Management in a Frontend CLI Tool
vivo Internet Technology
vivo Internet Technology
Sep 2, 2020 · Frontend Development

Developing a Vue CLI Plugin for a Unified Component Library

This guide walks through building a Vue CLI plugin—named vue‑cli‑plugin‑next‑component—that enforces team‑wide naming conventions and directory structures for a component library, detailing the required file layout, service entry, interactive prompts, EJS‑based generator templates, testing workflow, and how it streamlines and standardizes Vue component creation.

CLI PluginComponent LibraryEJS
0 likes · 7 min read
Developing a Vue CLI Plugin for a Unified Component Library