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

https://github.com/rmariuzzo/githood

Run commands in a group of git repos.
https://github.com/rmariuzzo/githood

Last synced: 4 months ago
JSON representation

Run commands in a group of git repos.

Awesome Lists containing this project

README

          

# githood

Run commands in a group of git repos.

| ⚠️ This project is under development.
| -

## Installation

```shell
npm i githood --global
```

Optionally, you can run with: `npx githood`

## Usage

```shell
githood --help
```

Optionally, you can use it with: `npx githood --help`

## Example

#### Running a command across git repos

```shell
githood git status
```

#### Running a command across git repos in a GitHub org

```shell
githood --org rmariuzzo -- git status
```

## Options

### `--name`

Run commands in repos matching the given name. A regexp can be provided as `'/expr/'`.

### `--org`

Filter git repos by GitHub organization or username.

### `--count`

Display the number of git repos.

### `--list`

Display all git repos.

## Development

1. Checkout the code.
2. Install dependencies: `npm i`
3. Watch and compile source: `npm run dev`
4. Test compiled source: `./bin.js`

---

License: [MIT](./LICENSE)


Author: [Rubens Mariuzzo](https://github.com/rmariuzzo)