commander-js-scaffolder

Solid

Generate Commander.js CLI project structure with TypeScript, commands, options, and best practices. Creates a complete scaffolded CLI application ready for development.

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Commander.js Scaffolder Generate a complete Commander.js CLI application with TypeScript, proper project structure, and best practices. ## Capabilities - Generate TypeScript-based Commander.js CLI projects - Create command structure with subcommands and options - Set up proper argument parsing with type coercion - Configure help text generation - Implement version management - Set up build and development workflows ## Usage Invoke this skill when you need to: - Bootstrap a new CLI application using Commander.js - Create a TypeScript CLI with proper structure - Set up command hierarchies with subcommands - Configure CLI options and arguments ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | projectName | string | Yes | Name of the CLI project (kebab-case) | | description | string | Yes | Short description of the CLI | | commands | array | No | List of commands to scaffold | | typescript | boolean | No | Use TypeScript (default: true) | | packageManager | string | No | npm, yarn, or pnpm (default: npm) | ### Command Structure ```json { "commands": [ { "name": "init", "description": "Initialize a new project", "options": [ { "flags": "-t, --template <name>", "description": "Template to use" }, { "flags": "-f, --force", "description": "Overwrite existing files" } ], "arguments": [ { "name": "<directory>", "description": "Target directory" } ] } ...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills