]> apps.delaporte.us Git - dotfiles.git/blob - psmodules/dash.psm1
8b18d987ee51f35909a4f68104e4f708258dbf33
[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 $queries = Get-AgileQuery -state 'Open' -Skip uillinois-community.github.io
18 Invoke-AgileQuery -queries $queries | Select-AgileNoMilestone | Show-MarkdownFromGitHub
19 # $orphans_count = ($orphans | Measure-Object -Property updated_at -Min -Max).Count
20 # $orphans | Measure-Object -Property updated_at -Min -Max
21 Write-Host ""
22 Write-Host "Use command 'todo' to list more tasks."
23 Write-Host "Use command 'chart' to show todo item progress."
24 Write-Host "Use command 'agenda' to list the plan for today."
25 }
26
27 function Show-MyTeamWork() {
28 $team = @('ddriddle', 'zcarrington', 'tzturner', 'mpitcel', 'edthedev')
29 $team | ForEach-Object {
30 "## $_ - Issues Assigned"
31 Get-AgileQuery -Assignee $_ | Invoke-AgileQuery | Show-MarkdownFromGitHub
32 }
33 }
34
35 Export-ModuleMember -Function Show-MyDashboard
36 Export-ModuleMember -Function Show-MyTeamWork