Last active
June 20, 2024 18:46
-
-
Save dakshin-k/795f37cc71ed8d3f7976e404de8f910b to your computer and use it in GitHub Desktop.
Function that uses the Github CLI to load issues in VS Code and upload changes back to GitHub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function vs_edit_issue() { | |
| gh issue view $1 --json body --jq .body > /tmp/gh-$1.md | |
| code --wait /tmp/gh-$1.md | |
| gh issue edit $1 --body-file /tmp/gh-$1.md | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment