]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - psmodules/dash.psm1
Add todo.txt contents to dashboard
[dotfiles.git] / psmodules / dash.psm1
index bca0ea7158fd5eecf11b5e3779044387398d9e7e..da2afef6a0560cc07a6542a56d60e96089a5a44a 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 ""
@@ -108,6 +108,7 @@ function Show-MyDashBoard() {
                Write-Host ""
                Write-Host "## Todo List" 
                todolist
                Write-Host ""
                Write-Host "## Todo List" 
                todolist
+               todotxt
        }
 }
 
        }
 }
 
@@ -119,5 +120,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