Node.js TypeScript Commander.js

Developer CLI Tool

A command-line utility for automating common development tasks like project scaffolding and code generation.

Terminal screenshot showing CLI tool

A powerful command-line tool that streamlines the development workflow with intelligent scaffolding, code generation, and project management features.

Overview

This CLI tool was born out of repetitive tasks I found myself doing across multiple projects. Instead of copying boilerplate code, I built a tool to automate the process.

Key Features

  • Project scaffolding - Generate new projects from customizable templates
  • Code generation - Create components, services, and tests with a single command
  • Configuration management - Easily update project settings across monorepos
  • Git workflow helpers - Streamlined branch management and commit conventions

Usage

# Install globally
npm install -g @username/dev-cli

# Create a new project
dev-cli create my-project --template react

# Generate a component
dev-cli generate component Button --with-tests

# Run project health checks
dev-cli doctor

Architecture

The CLI is built with a plugin-based architecture, making it easy to extend:

src/
├── commands/          # Individual CLI commands
├── generators/        # Code generation templates
├── plugins/          # Extensible plugin system
└── utils/            # Shared utilities

Future Plans

  • [ ] VS Code extension integration
  • [ ] AI-powered code suggestions
  • [ ] Team configuration sharing
Fork me on GitHub