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

https://github.com/kit494way/gh-reply

A GitHub CLI (gh) extension to make use of saved replies.
https://github.com/kit494way/gh-reply

cli gh-extension golang

Last synced: 4 months ago
JSON representation

A GitHub CLI (gh) extension to make use of saved replies.

Awesome Lists containing this project

README

          

# gh-reply

A GitHub CLI ([gh](https://github.com/cli/cli)) extension to make use of saved replies.

## Installation

```sh
gh extension install kit494way/gh-reply
```

## Usage

### list

List saved replies.

```sh
gh reply list
```

### view

View a saved reply.

```sh
gh view
```

Without id, `gh view`, you can interactively select a saved reply.

### comment

Add a comment to an issue using a saved reply.

```sh
gh reply comment --issue
```

For pull request, use `--pr` option instead of `--issue`.

```sh
gh reply comment --pr
```

To edit a saved reply before adding a comment, use `--editor` option.

```sh
gh reply comment --issue --editor
```

This launch a editor initialized by a saved reply.

Without an argument ``, you can interactively select a saved reply to use.

```sh
gh reply comment --issue
```

## License

MIT