Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/venhance/gh-done
Trivial wrapper closing an issue and adding a comment.
https://github.com/venhance/gh-done
gh-extension
Last synced: about 2 months ago
JSON representation
Trivial wrapper closing an issue and adding a comment.
- Host: GitHub
- URL: https://github.com/venhance/gh-done
- Owner: vEnhance
- License: wtfpl
- Created: 2021-08-29T00:04:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-16T02:09:33.000Z (about 2 years ago)
- Last Synced: 2024-07-30T18:43:50.480Z (5 months ago)
- Topics: gh-extension
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# gh-done
Trivial wrapper which closes an issue and adds a comment "Finished in `...`.".
## Usage
- `gh done 42` will close issue #42 and add a comment "Finished in [insert SHA
of current HEAD]"- `gh done 42 HEAD~5` will close issue #42 and add a comment "Finished in [insert SHA
of HEAD~5]"In general, the arguments after the first can be any arguments (even more than one)
accepted by `git rev-parse`.By default, the script will show the issue and the commit before sending the
bits off into the internets. Pass `--quiet` before any other argument to stop
this behavior (or pipe `yes`).