]> apps.delaporte.us Git - dotfiles.git/commitdiff
Update to remove PowerShellForGitHub library use from dashboard
authorEdward Delaporte <delaport@illinois.edu>
Tue, 5 Dec 2023 17:32:53 +0000 (11:32 -0600)
committerEdward Delaporte <delaport@illinois.edu>
Tue, 5 Dec 2023 17:32:53 +0000 (11:32 -0600)
psmodules/dash.psm1

index 7e25e70be380fc749dc5a05627b039d33cf898f6..98533ab018cdf40e10e31ddf56e2d10d2878d012 100644 (file)
@@ -21,20 +21,14 @@ function Show-MyDashBoard() {
        Get-JournalAgenda
        Write-Host ""
        if($github) {
        Get-JournalAgenda
        Write-Host ""
        if($github) {
-               Write-Host "## GitHub Issues Assigned (Show-AgileMine)"
-               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' }
-               $queries = Get-AgileQuery -state 'Open' -repos $milestone_repos
-               Invoke-AgileQuery -queries $queries | Select-AgileNoMilestone | Show-MarkdownFromGitHub
+               Write-Host "## GitHub Status (gh status)"
+               Invoke-Expression "gh status"
        }
        Write-Host ""
        Write-Host "Use command 'todolist' to list more tasks."
        Write-Host "Use command 'chart -var todocount' to show todo item progress."
        Write-Host "Use command 'agenda' to list the plan for today."
        }
        Write-Host ""
        Write-Host "Use command 'todolist' to list more tasks."
        Write-Host "Use command 'chart -var todocount' to show todo item progress."
        Write-Host "Use command 'agenda' to list the plan for today."
+       Write-Host "Use command 'Show-AgileNoMilestone' to display issues without a milestone."
 }
 
 function Show-MyTeamWork() {
 }
 
 function Show-MyTeamWork() {