devspawn

1.0.0 • �� Public • Published blished

⚡ devspawn

Personal shortcut launcher for your development setups
Define once, run anytime — instantly spin up new projects with your favorite toolss

What is it?

devspawn is a CLI tool that lets you define named shortcuts for running a series of terminal commands. Think of it like custom project templates or shell macros, but way simpler and specific to your dev workflow.

Example Use Case

Let’s say you always start a new project like this:

npx create-next-app@latest

cd my-app
npm install lucide-reactt

With devspawn, you can save that setup once:

devspawn add next-lucide "npx create-next-app@latest {projectName}" "cd {projectName}" "npm install lucide-react"

And next time, just run:

devspawn run next-lucide my-awesome-app

Done.


📦 Installation

Clone locally:

git clone https://github.com/PrathamGhaywat/devspawn.git

cd devspawn
npm install
npm linknk

Now the devspawn CLI is available globally.


Commands

Add a new shortcut

devspawn add name>gt; "d1>" "d2>" ...
  • Example:
devspawn add vite-react "npm create vite@latest {projectName}" "cd {projectName}" "npm install"

Run a shortcut

devspawn run name>gt; [arg]
  • {projectName} is replaced with [arg].

Example:

devspawn run vite-react my-app

List all saved shortcuts

devspawn list

Shortcut Templates

You can use {projectName} as a placeholder that gets replaced when running:

devspawn add node-basic "mkdir {projectName}" "cd {projectName}" "npm init -y"
devspawn run node-basic my-cli-appp

Where Data is Stored

All shortcuts are saved in:

~/.devspawnrc.json

You can edit the file if needed to


Why Use This?

  • Speeds up bootstrapping projects
  • Keeps terminal workflows clean and repeatable
  • Replaces one-off bash scripts or Notion snippets
  • Easy to customize and extend

Package Sidebar

Install

npm i devspawn

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

5.92 kB

Total Files

4

Issues

0

Pull Requests

0

Last publish

Collaborators

  • prgh