DaCameraGirl ยท Shell

license‑zapper 💖

Mass LICENSE production for GitHub. It finds every repo with no license file and stamps one in through the GitHub API. No cloning twenty repos by hand. Dry‑run by default, so it never changes anything until you say --go.

View source โ†—
bash
# grab it
gh repo clone DaCameraGirl/license-zapper
cd license-zapper

# preview what would happen (safe)
bash zap-licenses.sh

# stamp them for real
bash zap-licenses.sh --go            # proprietary
bash zap-licenses.sh --license mit --go

๐Ÿ›Ÿ Dry-run safe

Previews every change. Nothing is written until you pass --go.

๐Ÿชช Two licenses

Proprietary (all rights reserved) or MIT, written under your name and year.

๐Ÿง  Smart skips

Ignores repos that already have a license, and archived ones too.