Žiadny popis

Mariano Z. ef7c965a14 dev: automated commit - 2025-07-17 15:26:19 5 mesiacov pred
runs ef7c965a14 dev: automated commit - 2025-07-17 15:26:19 5 mesiacov pred
.gitignore f037255a1a dev: automated commit - 2025-05-31 17:04:45 7 mesiacov pred
README.md 55d87a46c1 dev: automated commit - 2025-06-02 11:07:54 7 mesiacov pred
commands.go 71cda52613 dev: automated commit - 2025-07-15 23:20:30 5 mesiacov pred
common.sh 0ab9f62ace dev: automated commit - 2025-06-08 23:28:55 6 mesiacov pred
dev 71cda52613 dev: automated commit - 2025-07-15 23:20:30 5 mesiacov pred
git.go 71cda52613 dev: automated commit - 2025-07-15 23:20:30 5 mesiacov pred
go.mod b35d327830 dev: automated commit - 2025-05-31 17:07:41 7 mesiacov pred
go.sum b35d327830 dev: automated commit - 2025-05-31 17:07:41 7 mesiacov pred
logging.go 71cda52613 dev: automated commit - 2025-07-15 23:20:30 5 mesiacov pred
main.go 71cda52613 dev: automated commit - 2025-07-15 23:20:30 5 mesiacov pred
scripts.go 71cda52613 dev: automated commit - 2025-07-15 23:20:30 5 mesiacov pred
types.go 71cda52613 dev: automated commit - 2025-07-15 23:20:30 5 mesiacov pred
utils.go 71cda52613 dev: automated commit - 2025-07-15 23:20:30 5 mesiacov pred

README.md

Dev Tool

Simple script runner that organizes and executes your development scripts. Builds itself automatically.

Quick Start

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

Usage

./dev ls               # List all scripts
./dev run base         # Run specific script
./dev run docker       # Run scripts matching "docker"
./dev run base -- arg  # Pass arguments to script
./dev new backup       # Create new script template
./dev push             # Commit, scan, and push to git
./dev deps             # Check dependencies
./dev completion bash  # Generate shell completion

How It Works

  1. Put executable scripts in runs/
  2. Run them with ./dev run <name>
  3. Check logs in logs/

The ./dev wrapper automatically builds the Go binary when needed.

Requirements

  • Linux
  • Go: sudo pacman -S go (or your distro's package manager)

File Structure

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

Features

  • Auto-detects executable scripts in runs/
  • Tab completion for script names
  • Automatic logging to logs/
  • Git integration with security scanning (GitLeaks)
  • Dependency checking
  • Cross-platform binary building
  • Shell completion support

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