]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - psmodules/dash.psm1
Improve confirmation"
[dotfiles.git] / psmodules / dash.psm1
index 0139fcae28df4b935747cdfcaf3437a4b67c9b89..874fc0e0b67eed7b6965d0ef48804a20af755743 100644 (file)
@@ -1,24 +1,26 @@
+function Get-JournalAgenda() {
+    agenda.exe -path "$HOME/Journal/{YYYY}/{MM}-{DD}.md"
+}
 
 function Show-MyDashBoard() {
        Write-Host ""
        Write-Host "## Todo items for today:"
 
 function Show-MyDashBoard() {
        Write-Host ""
        Write-Host "## Todo items for today:"
-       Measure-JournalTodos
+       # Measure-JournalTodos
        chart
        chart
-       Get-JournalTodayTodos
+       # Get-JournalTodayTodos
        Write-Host ""
        Write-Host "## Agenda for today:"
        Get-JournalAgenda
        Write-Host ""
        Write-Host "## GitHub Issues Assigned (Show-AgileMine)"
        Write-Host ""
        Write-Host "## Agenda for today:"
        Get-JournalAgenda
        Write-Host ""
        Write-Host "## GitHub Issues Assigned (Show-AgileMine)"
-       Show-AgileMine -DaysAgo 6
+       # Show-AgileMine
+       # Show-AgileMine -DaysAgo 6
        Write-Host ""
        Write-Host "## GitHub Issues with no milestone. (Select-AgileNoMilestone)"
        Write-Host "(Get-AgileQuery -state 'Open' | Invoke-AgileQuery | Select-AgileNoMilestone | Show-MarkdownFromGitHub)"
        $milestone_repos = $env:github_repos.split(' ') | Where-Object { $_ -Match 'techservicesillinois' }
        Write-Host ""
        Write-Host "## GitHub Issues with no milestone. (Select-AgileNoMilestone)"
        Write-Host "(Get-AgileQuery -state 'Open' | Invoke-AgileQuery | Select-AgileNoMilestone | Show-MarkdownFromGitHub)"
        $milestone_repos = $env:github_repos.split(' ') | Where-Object { $_ -Match 'techservicesillinois' }
-    $queries = Get-AgileQuery -state 'Open' -repos $milestone_repos
-       Invoke-AgileQuery -queries $queries | Select-AgileNoMilestone | Show-MarkdownFromGitHub
-    # $orphans_count = ($orphans | Measure-Object -Property updated_at -Min -Max).Count
-       # $orphans | Measure-Object -Property updated_at -Min -Max
+    # $queries = Get-AgileQuery -state 'Open' -repos $milestone_repos
+       # Invoke-AgileQuery -queries $queries | Select-AgileNoMilestone | Show-MarkdownFromGitHub
        Write-Host ""
        Write-Host "Use command 'todo' to list more tasks."
        Write-Host "Use command 'chart' to show todo item progress."
        Write-Host ""
        Write-Host "Use command 'todo' to list more tasks."
        Write-Host "Use command 'chart' to show todo item progress."