Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Scaffold Cli Command

Skill Verifiziert Aktiv
Teil von:Agent Almanac

Scaffold a new CLI command using Commander.js with options, action handler, three output modes (human-readable, quiet, JSON), and optional ceremony variant. Covers command naming, option design, shared context patterns, error handling, and integration testing. Use when adding a command to an existing Commander.js CLI, designing a new CLI tool from scratch, or standardizing command structure across a multi-command CLI.

Zweck

To reliably generate new CLI commands following best practices for Commander.js, ensuring consistency in structure, output, and error handling.

Funktionen

  • Scaffolds new CLI commands with Commander.js
  • Supports multiple output modes (human-readable, quiet, JSON)
  • Includes optional ceremony variant for narrative output
  • Covers command naming, option design, and shared context patterns
  • Provides error handling and integration testing guidance

Anwendungsfälle

  • Adding a command to an existing Commander.js CLI
  • Designing a new CLI tool from scratch
  • Standardizing command structure across a multi-command CLI

Nicht-Ziele

  • Building the entire CLI application
  • Handling complex state management beyond command execution
  • Interacting with external services not related to command scaffolding

Installation

/plugin install agent-almanac@pjt222-agent-almanac

Qualitätspunktzahl

Verifiziert
98 /100
Analysiert about 20 hours ago

Vertrauenssignale

Letzter Commit1 day ago
Sterne14
LizenzMIT
Status
Quellcode ansehen