Skip to content

ChrisColeTech/scaffold-scripts

Repository files navigation

Scaffold Scripts

CI Status NPM Version NPM Downloads GitHub Stars License: MIT

Node Version Platform Support TypeScript Code Quality PRs Welcome

Simple CLI tool for managing and running your own scripts. Add any script, run it anywhere.

🚀 Production Ready⚡ Real-time Output🔧 Cross-Platform📦 Zero Config

Quick Install

npm install -g scaffold-scripts

Usage

# Add a script to your library
scripts add my-script path/to/script.sh

# Run your script from anywhere
scripts my-script

# List all scripts
scripts list

🚀 Interactive Mode

Just type scripts with no arguments to launch the interactive menu:

scripts

Use arrow keys to:

  • Select and run any script
  • List all scripts with details
  • Get help adding new scripts
  • Exit when done

Perfect for discovering and running scripts without remembering names!

Commands

Command Aliases Description
scripts add scripts a / scaffold add Add a script
scripts list scripts l / scaffold list List all scripts
scripts remove scripts r / scaffold remove Remove a script
scripts update scripts u / scaffold update Update a script
scripts view scripts s / scaffold view View script details

Speed shortcuts: Use scripts a, scripts l, scripts r, scripts u, scripts s for faster typing.
Alternative: Use scaffold if you prefer to match the package name.

The Workflow

  1. Get a script → From AI, GitHub, docs, or write your own
  2. Save locally → Copy to a .sh, .py, .js, or .ps1 file
  3. Add to scaffoldscripts add script-name file.sh
  4. Run from anywherescripts script-name (no more hunting for files)

Examples

# You got a React setup script from ChatGPT/Claude
scripts add react-setup setup.sh
scripts react-setup my-app

# You found a deployment script on GitHub  
scripts add deploy deploy.py
scripts deploy staging

Supported File Types

Shell (.sh, .bash), Python (.py), JavaScript (.js, .ts), PowerShell (.ps1), Batch (.bat), and more.

Why Use This?

  • No more hunting for files - run scripts from anywhere with one command
  • Real-time output streaming - see npm install progress as it happens
  • Perfect for AI-generated scripts - easily save and run scripts from ChatGPT/Claude
  • Cross-platform - works on Windows, Mac, Linux with automatic conversions
  • Interactive mode - beautiful menu for discovering and running scripts
  • Production ready - comprehensive testing across all platforms
  • Simple workflow - add once, run anywhere

Documentation

Full documentation with detailed examples: README-full.md

Contributing

We welcome contributions! Please see our Contributing Guide for details.

Support

License

MIT © ChrisColeTech

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 3

  •  
  •  
  •