Skip to content

GrahamduesCN/dev-cli-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dev-cli-kit

Developer CLI toolkit — project scaffolding, code generation, and git workflow helpers.

What this actually does

  • Scaffold projects from 3 built-in templates (Node/TS, React/Vite, CLI tool)
  • Generate boilerplate — components, hooks, utilities, API routes
  • Git helpers — stats overview and merged branch cleanup

Install

npm install -g dev-cli-kit

Usage

Scaffold a project

# List templates
dev-cli-kit init --list

# Create a Node.js + TypeScript project
dev-cli-kit init --template node-ts --name my-lib

# Create a React + Vite app
dev-cli-kit init --template react-vite --name my-app

# Create a CLI tool
dev-cli-kit init --template cli-tool --name my-cli

Generate code

# React component
dev-cli-kit generate component UserProfile

# React hook
dev-cli-kit generate hook useAuth

# Utility file
dev-cli-kit generate util formatDate

# Next.js API route
dev-cli-kit generate api users

Git helpers

# Repository stats (branch, changed files, recent commits)
dev-cli-kit git stats

# List merged branches ready for cleanup
dev-cli-kit git clean

Built-in Templates

Template Description
node-ts Node.js library with TypeScript, Vitest, tsx
react-vite React SPA with Vite, TypeScript
cli-tool CLI tool with Commander, Chalk

Requirements

  • Node.js >= 18
  • Git (for git commands)

License

MIT


Built with Commander, Chalk, and Ora.

Related Projects

Project Description
ai-agent-starter Multi-provider AI agent framework
nextjs-saas-starter Next.js 14 SaaS starter
ai-chat-saas AI chat app template ($19)

About

Developer CLI toolkit — project scaffolding, code generation, git helpers. 3 built-in templates.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors