From: Edward Delaporte Date: Fri, 14 Jan 2022 23:12:01 +0000 (-0600) Subject: Show-MyTeamWork X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/9be91f74552004f7446a8f4678f0e8f124822952?ds=inline;hp=--cc Show-MyTeamWork --- 9be91f74552004f7446a8f4678f0e8f124822952 diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 6a1ab94..b0c9ae9 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -130,5 +130,5 @@ New-Alias ol Get-GitLog New-Alias st Get-GitStatus # Dashboard -New-Alias dash Get-MyDashboard # from dash.psm1 +New-Alias dash Show-MyDashboard # from dash.psm1 New-Alias agenda Get-JournalAgenda # from minion_go.psm1 diff --git a/psmodules/dash.psm1 b/psmodules/dash.psm1 index 88cd721..f6bccfe 100644 --- a/psmodules/dash.psm1 +++ b/psmodules/dash.psm1 @@ -1,5 +1,5 @@ -function Get-MyDashBoard() { +function Show-MyDashBoard() { Write-Host "## Todo items for today:" Measure-JournalTodos chart @@ -15,4 +15,13 @@ function Get-MyDashBoard() { Write-Host "Use command 'agenda' to list the plan for today." } -Export-ModuleMember -Function Get-MyDashboard \ No newline at end of file +function Show-MyTeamWork() { + $team = @('ddriddle', 'zcarrington', 'tzturner', 'mpitcel', 'edthedev') + $team | ForEach-Object { + "## $_ - Issues Assigned" + Get-AgileQuery -Assignee $_ | Invoke-AgileQuery | Show-MarkdownFromGitHub + } +} + +Export-ModuleMember -Function Show-MyDashboard +Export-ModuleMember -Function Show-MyTeamWork \ No newline at end of file