]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - psmodules/dash.psm1
Add question to dashboard
[dotfiles.git] / psmodules / dash.psm1
index bca0ea7158fd5eecf11b5e3779044387398d9e7e..bcd6df76be14d53796a45de33c1ce2b0b6253816 100644 (file)
@@ -68,7 +68,7 @@ function Show-MyDashBoard() {
        if($blocked){
                Write-Host ""
                Write-Host "## Blocked & Blocker Issues:"
        if($blocked){
                Write-Host ""
                Write-Host "## Blocked & Blocker Issues:"
-               Invoke-AgileCmd "gh issue list -S 'label:blocked,blocker,needs context'"
+               Invoke-AgileCmd "gh issue list -S 'label:blocked,blocker,needs context,question'"
        }
        if($bugs) {
                Write-Host ""
        }
        if($bugs) {
                Write-Host ""
@@ -119,5 +119,11 @@ function Show-MyTeamWork() {
        }
 }
 
        }
 }
 
+function Write-AgileClosedData() {
+       $gh_cmd = 'gh issue list --state closed --json title,closedAt,milestone,url'
+       Write-AgileToFile -gh_command $gh_cmd
+}
+
+Export-ModuleMember -Function Write-AgileClosedData
 Export-ModuleMember -Function Show-MyDashboard
 Export-ModuleMember -Function Show-MyTeamWork
\ No newline at end of file
 Export-ModuleMember -Function Show-MyDashboard
 Export-ModuleMember -Function Show-MyTeamWork
\ No newline at end of file