Skip to content

magic-scripts/ms

Repository files navigation

Magic Scripts v0.0.1

A comprehensive collection of developer automation tools for streamlined project setup, configuration management, and development workflows.

🚀 Quick Start

Installation

# Latest version (recommended)
curl -fsSL https://raw.githubusercontent.com/magic-scripts/ms/main/setup.sh | sh

# Specific version
curl -fsSL https://raw.githubusercontent.com/magic-scripts/ms/main/setup.sh | sh -s -- -v 0.0.1

# Development version
curl -fsSL https://raw.githubusercontent.com/magic-scripts/ms/main/setup.sh | sh -s -- -v dev

First Steps

ms upgrade                                    # Update registries
ms install -r default                        # Install all commands
ms config set AUTHOR_NAME "Your Name"        # Configure settings

Uninstallation

# Normal uninstallation
ms uninstall ms

# Emergency cleanup (if ms is corrupted)
curl -fsSL https://raw.githubusercontent.com/magic-scripts/ms/main/cleanup.sh | sh

Self-Update

ms self-update                                # Update ms core system
# or
ms reinstall ms                               # Reinstall ms core system

📖 Documentation

System Overview

  • Magic Scripts CLI (ms) - Main interface for managing all commands
  • 2-Tier Registry System - Secure, versioned command distribution
  • Unified Configuration - Shared settings across all commands

Available Commands

Command Description
gigen .gitignore template generator
licgen License generator for various licenses
pgadduser PostgreSQL user and database setup
dcwinit Docker Compose wireframe generator
dockergen Optimized Dockerfile generator
projinit Project initializer for various frameworks
mschecksum SHA256 checksum calculator

Detailed Guides

🚀 Common Usage

# Configuration
ms config set AUTHOR_NAME "Your Name"        # Set configuration
ms config list                               # View all config

# Registry Management  
ms reg list                                   # List registries
ms reg add custom https://example.com/reg    # Add registry
ms upgrade                                    # Update all registries

# Command Installation
ms search docker                              # Search commands
ms install gigen licgen                       # Install specific commands
ms install -r default                         # Install from registry
ms status                                     # Check installation status

# System Maintenance
ms doctor                                     # Run diagnostics
ms update                                     # Update all commands

📝 License

MIT License - see LICENSE file for details.

🤝 Contributing

  1. Fork and create feature branch from develop
  2. Follow existing patterns and test thoroughly
  3. Submit PR to develop branch

See Development Guide for detailed information.


Magic Scripts v0.0.1 - Streamlining development workflows, one script at a time.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages