]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - psmodules/dash.psm1
Merge branch 'main' of github.com:edthedev/dotfiles into main
[dotfiles.git] / psmodules / dash.psm1
index afa4910116428f9f4e4ec9f59595f07e589449ea..874fc0e0b67eed7b6965d0ef48804a20af755743 100644 (file)
@@ -1,22 +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:"
-       Measure-JournalTodos
+       # Measure-JournalTodos
        chart
-       Get-JournalTodayTodos
+       # Get-JournalTodayTodos
        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)"
-    Get-AgileQuery -state 'Open' -Skip uillinois-community.github.io | Invoke-AgileQuery | Select-AgileNoMilestone | Show-MarkdownFromGitHub
-    # $orphans_count = ($orphans | Measure-Object -Property updated_at -Min -Max).Count
-       # $orphans | Measure-Object -Property updated_at -Min -Max
+       $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
        Write-Host ""
        Write-Host "Use command 'todo' to list more tasks."
        Write-Host "Use command 'chart' to show todo item progress."