]> apps.delaporte.us Git - dotfiles.git/blobdiff - psmodules/dash.psm1
Todolist tweaks
[dotfiles.git] / psmodules / dash.psm1
index bca0ea7158fd5eecf11b5e3779044387398d9e7e..4b9f3b8ca881bc222aac43929855483e4026b281 100644 (file)
@@ -68,7 +68,7 @@ function Show-MyDashBoard() {
        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 ""
@@ -106,8 +106,11 @@ function Show-MyDashBoard() {
        }
        if($todo) {
                Write-Host ""
-               Write-Host "## Todo List" 
+               Write-Host "## Journal Todo Items" 
                todolist
+               Write-Host ""
+               Write-Host "## Todo.txt File" 
+               todotxt
        }
 }
 
@@ -119,5 +122,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