Skip to content

Automatically clone and execute commands across multiple GitHub repositories.

License

Notifications You must be signed in to change notification settings

mtoohey31/gh-foreach

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks