Created
November 5, 2020 03:04
-
-
Save cicorias/d417e1c559962f9a91801dbd0df8224b to your computer and use it in GitHub Desktop.
create GitHub issues from the command line with a file
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
#!/usr/bin/env bash | |
filename='reqs.txt' | |
echo Start | |
while read p; do | |
title=$(echo "$p" | cut -d, -f1) | |
body=$(echo "$p" | cut -d, -f2) | |
gh issue create --title "$title" --body "$body" --label "enhancement" | |
done < $filename |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment