mtoohey31 / gh-foreach

Automatically clone and execute commands across multiple GitHub repositories.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gh-foreach

Automatically clone and execute commands across multiple GitHub repositories.

Usage

Note: the minimum required version of the GitHub CLI (gh) is v2.3.0.

gh extension install mtoohey31/gh-foreach
gh foreach --help
gh foreach run -a owner -v public -l go -s bash cat go.mod
gh foreach run -a owner -l rust -- bat --pager=never Cargo.toml
gh foreach run --no-confirm -v public -r '^\w{3}\d{3}.*project$' 'cat README.md | head -n 1'
gh foreach run -ci -l svelte 'pnpm install; fish'

demo

About

Automatically clone and execute commands across multiple GitHub repositories.

License:Apache License 2.0


Languages

Language:Go 94.1%Language:Nix 5.9%