No description
Find a file
2025-05-31 17:12:08 -03:00
runs dev: automated commit - 2025-05-31 17:04:45 2025-05-31 17:04:49 -03:00
.gitignore dev: automated commit - 2025-05-31 17:04:45 2025-05-31 17:04:49 -03:00
dev dev: automated commit - 2025-05-31 17:07:41 2025-05-31 17:07:44 -03:00
go.mod dev: automated commit - 2025-05-31 17:07:41 2025-05-31 17:07:44 -03:00
go.sum dev: automated commit - 2025-05-31 17:07:41 2025-05-31 17:07:44 -03:00
main.go dev: automated commit - 2025-05-31 17:12:06 2025-05-31 17:12:08 -03:00
README.md dev: automated commit - 2025-05-31 17:04:45 2025-05-31 17:04:49 -03:00

Dev Tool

Simple development script runner that builds itself on first use.

Quick Start

git clone https://git.mz.uy/marianozunino/dev
cd dev
./dev

Usage

./dev run              # Run all scripts
./dev run docker       # Run scripts matching "docker"
./dev ls               # List available scripts
./dev new backup       # Create new script template
./dev push             # Git push with security scan

How It Works

The ./dev script:

  1. Detects your Linux architecture (amd64/arm64)
  2. Builds bin/dev-linux-{arch} if needed
  3. Runs your command

Requirements

  • Linux (any distro)
  • Go installed: sudo pacman -S go (or your distro's equivalent)

File Structure

project/
├── dev*           # Launcher script
├── main.go        # Source code
├── Makefile       # Build helper
├── bin/           # Built binaries
├── runs/          # Your scripts
└── logs/          # Execution logs

That's it! Clone and run ./dev to get started.