Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mtoohey31/gh-foreach
Automatically clone and execute commands across multiple GitHub repositories.
https://github.com/mtoohey31/gh-foreach
gh-extension
Last synced: 3 months ago
JSON representation
Automatically clone and execute commands across multiple GitHub repositories.
- Host: GitHub
- URL: https://github.com/mtoohey31/gh-foreach
- Owner: mtoohey31
- License: apache-2.0
- Created: 2021-12-05T04:51:38.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-29T21:53:31.000Z (over 1 year ago)
- Last Synced: 2024-06-20T16:47:41.928Z (5 months ago)
- Topics: gh-extension
- Language: Go
- Homepage:
- Size: 3.65 MB
- Stars: 19
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`.
```bash
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](https://user-images.githubusercontent.com/36740602/152471108-47cc7484-3f95-4da0-81e5-81b8fb35d1ea.gif)