We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
add
1 parent 583b705 commit e8b4a9eCopy full SHA for e8b4a9e
gh-todo
@@ -96,7 +96,7 @@ add() {
96
if [[ -z $issue_id ]]; then
97
exec gh issue create --title $issue_title --body "- [ ] $input" --repo $repo
98
else
99
- body=$(gh issue list --search "$issue_title" --json "body" --jq ".[0].body" --repo $repo)
+ body=$(gh issue view $issue_id --json "body" --jq ".body" --repo $repo)
100
body=$(echo -e "$body\n- [ ] $input")
101
exec gh issue edit $issue_id --body "$body" --repo $repo
102
fi
0 commit comments