dev: automated commit - 2025-05-31 17:04:45
This commit is contained in:
parent
d08c9c562e
commit
f037255a1a
7 changed files with 783 additions and 377 deletions
48
README.md
Normal file
48
README.md
Normal file
|
@ -0,0 +1,48 @@
|
|||
# Dev Tool
|
||||
|
||||
Simple development script runner that builds itself on first use.
|
||||
|
||||
## Quick Start
|
||||
|
||||
```bash
|
||||
git clone https://git.mz.uy/marianozunino/dev
|
||||
cd dev
|
||||
./dev
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
./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.
|
Loading…
Add table
Add a link
Reference in a new issue