]> apps.delaporte.us Git - dotfiles.git/blob - psmodules/dash.psm1
Updated dashboard for PowerShell Agile GitHub library
[dotfiles.git] / psmodules / dash.psm1
1
2 function Show-MyDashBoard() {
3 Write-Host ""
4 Write-Host "## Todo items for today:"
5 Measure-JournalTodos
6 chart
7 Get-JournalTodayTodos
8 Write-Host ""
9 Write-Host "## Agenda for today:"
10 Get-JournalAgenda
11 Write-Host ""
12 Write-Host "## GitHub Issues Assigned (Show-AgileMine)"
13 Show-AgileMine -DaysAgo 6
14 Write-Host ""
15 Write-Host "## GitHub Issues with no milestone. (Select-AgileNoMilestone)"
16 Write-Host "(Get-AgileQuery -state 'Open' | Invoke-AgileQuery | Select-AgileNoMilestone | Show-MarkdownFromGitHub)"
17 Get-AgileQuery -state 'Open' -Skip uillinois-community.github.io | Invoke-AgileQuery | Select-AgileNoMilestone | Show-MarkdownFromGitHub
18 # $orphans_count = ($orphans | Measure-Object -Property updated_at -Min -Max).Count
19 # $orphans | Measure-Object -Property updated_at -Min -Max
20 Write-Host ""
21 Write-Host "Use command 'todo' to list more tasks."
22 Write-Host "Use command 'chart' to show todo item progress."
23 Write-Host "Use command 'agenda' to list the plan for today."
24 }
25
26 function Show-MyTeamWork() {
27 $team = @('ddriddle', 'zcarrington', 'tzturner', 'mpitcel', 'edthedev')
28 $team | ForEach-Object {
29 "## $_ - Issues Assigned"
30 Get-AgileQuery -Assignee $_ | Invoke-AgileQuery | Show-MarkdownFromGitHub
31 }
32 }
33
34 Export-ModuleMember -Function Show-MyDashboard
35 Export-ModuleMember -Function Show-MyTeamWork