Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 1 month ago
JSON representation

Automatically clone and execute commands across multiple GitHub repositories.

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)