]> apps.delaporte.us Git - dotfiles.git/commitdiff
Add helpers for blocked and leeroy jenkins!
authorEdward Delaporte <delaport@illinois.edu>
Fri, 8 Dec 2023 21:11:47 +0000 (15:11 -0600)
committerEdward Delaporte <delaport@illinois.edu>
Fri, 8 Dec 2023 21:11:47 +0000 (15:11 -0600)
psmodules/dash.psm1

index 4f5abe05cd3e4530fa6b5788b0d2b4c725738b9b..b38e7cad31198dada8f3062f11de2320f7d42e58 100644 (file)
@@ -24,13 +24,15 @@ function Show-MyDashBoard() {
        param(
                # [switch]$todocount=$true,
                [switch]$agenda=$true,
-               [switch]$gitHub=$false,
+               [switch]$blocked,
+               [switch]$gitHub,
                [switch]$help,
-               [switch]$bugs=$false,
-               [switch]$todo=$false,
-               [switch]$pr=$false,
-               [switch]$requested=$false,
-               [switch]$orphans=$false
+               [switch]$leeroy,
+               [switch]$bugs,
+               [switch]$todo,
+               [switch]$pr,
+               [switch]$requested,
+               [switch]$orphans
        )
        $todocount = $true
        if($todocount){
@@ -44,11 +46,21 @@ function Show-MyDashBoard() {
                Write-Host "## Agenda for today:"
                Get-JournalAgenda
        }
+       if($blocked){
+               Write-Host ""
+               Write-Host "## Blocked Issues:"
+               Invoke-AgileCmd "gh issue list -l 'blocked'"
+       }
        if($github) {
                Write-Host ""
                Write-Host "## GitHub Status (gh status)"
                Invoke-Expression "gh status"
        }
+       if($leeroy){
+               Write-Host ""
+               Write-Host "## Leeroy Jenkins!:"
+               Invoke-AgileCmd "gh issue list -l 'leeroy jenkins'"
+       }
        if($bugs) {
                Write-Host ""
                Write-Host "## Known Bugs"