+<#
+.SYNPOSIS
+
+Fetch GitHub issues I am working on.
+
+#>
+function Get-GHMine() {
+ $repos = @('SecOps-Tools', 'secdev-job-aids', 'awscli-login')
+ $issueSearchParams = @{ Assignee = 'edthedev'; State = 'open'; OwnerName = 'techservicesillinois' }
+ $issues = @()
+ $repos | ForEach-Object {
+ $issues += Get-GitHubIssue -RepositoryName $_ @issueSearchParams
+ }
+
+ # Ignore issues that have been updated in the last day.
+ $issues = $issues | Where-Object { $_.updated_at -lt (Get-Date).AddDays(-1) }
+
+ return $issues
+}
+
+<#
+.SYNOPSIS
+
+Show GitHub issues I am working on.
+
+#>
+function Show-GHMine() {
+ Get-GHMine | ForEach-Object {
+ # Markdown output
+ " + [" + $_.Title + " (" + $_.Number + ")](" + $_.html_url + ")"
+ }
+}
+
+