This file contains 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 | |
# Usage: ./blog_issues.sh | |
# Set the start and end dates | |
read -p "Setting start date: " start_date; | |
read -p "Setting end date: " end_date; | |
echo start_date: $start_date end_date: $end_date; | |
gh issue list --repo azure/azure-dev --search "state:closed closed:$start_date..$end_date" --json number,title,closedAt,author --jq '.[] | "- \(.title) ([azure-dev#\(.number)](https://www.github.com/azure/azure-dev/issues/\(.number)))"' > blog_issues.md |