]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - psmodules/dash.psm1
Add command to list all open pull requests
[dotfiles.git] / psmodules / dash.psm1
index 92250b02e74dbe94173132be863d2ec4a3cae373..7e32ac4aa2487f28b83cddb1ca68b9b1f2489543 100644 (file)
@@ -14,7 +14,8 @@ function Show-MyDashBoard() {
                [switch]$agenda=$true,
                [switch]$gitHub=$false,
                [switch]$bugs=$false,
                [switch]$agenda=$true,
                [switch]$gitHub=$false,
                [switch]$bugs=$false,
-               [switch]$todolist=$false,
+               [switch]$todo=$false,
+               [switch]$pr=$false,
                [switch]$orphans=$false
        )
        $todocount = $true
                [switch]$orphans=$false
        )
        $todocount = $true
@@ -39,11 +40,16 @@ function Show-MyDashBoard() {
                Write-Host "## Known Bugs"
                Invoke-AgileCmd "gh issue list -S 'label:bug'"
        }
                Write-Host "## Known Bugs"
                Invoke-AgileCmd "gh issue list -S 'label:bug'"
        }
-       if($todolist) {
+       if($todo) {
                Write-Host ""
                Write-Host "## Todo List" 
                todolist
        }
                Write-Host ""
                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"