cli

17 articles
Azure DevOps CLI: Command-Line Productivity

Boost productivity with the Azure DevOps CLI for work items, pipelines, PRs, and automated development workflows...

24 min read2/14/2026
Contentful Migration Scripts: Automating Content Changes

A comprehensive guide to Contentful migration scripts covering content type changes, entry transformations, environment ...

19 min read2/14/2026
CLI Plugins and Extension Systems

How to design and build a plugin architecture for Node.js CLI tools, including plugin discovery, lifecycle hooks, and sa...

17 min read2/14/2026
Building a Task Runner CLI from Scratch

A step-by-step guide to building a task runner CLI in Node.js with dependency resolution, parallel execution, file watch...

18 min read2/14/2026
CLI Performance Optimization

Techniques to make Node.js CLI tools start faster and run efficiently, from lazy loading and require caching to startup ...

18 min read2/14/2026
CLI Framework Comparison: Commander vs Yargs vs Oclif

An in-depth comparison of the three major Node.js CLI frameworks — Commander, Yargs, and Oclif — with real code, perform...

16 min read2/14/2026
Shell Auto-Completion for Custom CLIs

How to add tab-completion to Node.js CLI tools for Bash, Zsh, Fish, and PowerShell with static and dynamic completions....

17 min read2/14/2026
Distributing CLIs: npm, Homebrew, and Binaries

A practical guide to packaging and distributing Node.js CLI tools through npm, Homebrew taps, standalone binaries, and p...

15 min read2/14/2026
CLI Error Handling and User-Friendly Messages

How to build CLI tools that handle errors gracefully with clear messages, actionable suggestions, and proper exit codes ...

19 min read2/14/2026
Progress Indicators and Spinners in CLIs

How to build spinners, progress bars, and multi-step status indicators for command-line tools in Node.js from scratch an...

19 min read2/14/2026
Building Interactive Terminal Prompts

A hands-on guide to building rich interactive terminal prompts using raw TTY input, ANSI escape codes, and prompt librar...

22 min read2/14/2026
CLI Configuration Management Patterns

How to build flexible, user-friendly configuration systems for command-line tools using layered config files, environmen...

20 min read2/14/2026
Cross-Platform CLIs with Node.js

Build Node.js CLI tools that work reliably on Windows, macOS, and Linux, covering path handling, shell differences, file...

12 min read2/14/2026
CLI Testing Strategies and Frameworks

Complete guide to testing command-line applications built with Node.js, covering unit testing, integration testing, snap...

11 min read2/14/2026
Building Interactive CLIs with Node.js and Inquirer

Complete guide to building interactive command-line interfaces with Node.js using Inquirer.js, covering prompts, validat...

13 min read2/14/2026
Building Interactive CLIs with Node.js and Inquirer

Complete guide to building interactive command-line interfaces with Node.js using Inquirer.js, covering prompts, validat...

13 min read2/13/2026
Universal Packages for Binary Distribution

A practical guide to using Azure Artifacts Universal Packages for distributing binaries, tools, configuration bundles, a...

14 min read2/13/2026
Powered by Contentful