]> apps.delaporte.us Git - dotfiles.git/commitdiff
Add command to list all open pull requests
authorEdward Delaporte <delaport@illinois.edu>
Tue, 5 Dec 2023 22:13:55 +0000 (16:13 -0600)
committerEdward Delaporte <delaport@illinois.edu>
Tue, 5 Dec 2023 22:13:55 +0000 (16:13 -0600)
psmodules/dash.psm1

index 3e523aa1bf7b940cbc3221d1353759fdbb0d19df..7e32ac4aa2487f28b83cddb1ca68b9b1f2489543 100644 (file)
@@ -15,6 +15,7 @@ function Show-MyDashBoard() {
                [switch]$gitHub=$false,
                [switch]$bugs=$false,
                [switch]$todo=$false,
                [switch]$gitHub=$false,
                [switch]$bugs=$false,
                [switch]$todo=$false,
+               [switch]$pr=$false,
                [switch]$orphans=$false
        )
        $todocount = $true
                [switch]$orphans=$false
        )
        $todocount = $true
@@ -44,6 +45,11 @@ function Show-MyDashBoard() {
                Write-Host "## Todo List" 
                todolist
        }
                Write-Host "## Todo List" 
                todolist
        }
+       if($pr) {
+               Write-Host ""
+               Write-Host "## Open Pull Requests"
+               Invoke-AgileCmd "gh pr list"
+       }
        if($orphans) {
                Write-Host ""
                Write-Host "## Issues with No Milestone" 
        if($orphans) {
                Write-Host ""
                Write-Host "## Issues with No Milestone"