]> apps.delaporte.us Git - dotfiles.git/blob - psmodules/dash.psm1
Merge branch 'main' of github.com:edthedev/dotfiles into main
[dotfiles.git] / psmodules / dash.psm1
1 function Get-JournalAgenda() {
2 agenda.exe -path "$HOME/Journal/{YYYY}/{MM}-{DD}.md"
3 }
4
5 function Show-MyDashBoard() {
6 Write-Host ""
7 Write-Host "## Todo items for today:"
8 # Measure-JournalTodos
9 chart
10 # Get-JournalTodayTodos
11 Write-Host ""
12 Write-Host "## Agenda for today:"
13 Get-JournalAgenda
14 Write-Host ""
15 Write-Host "## GitHub Issues Assigned (Show-AgileMine)"
16 # Show-AgileMine
17 # Show-AgileMine -DaysAgo 6
18 Write-Host ""
19 Write-Host "## GitHub Issues with no milestone. (Select-AgileNoMilestone)"
20 Write-Host "(Get-AgileQuery -state 'Open' | Invoke-AgileQuery | Select-AgileNoMilestone | Show-MarkdownFromGitHub)"
21 $milestone_repos = $env:github_repos.split(' ') | Where-Object { $_ -Match 'techservicesillinois' }
22 # $queries = Get-AgileQuery -state 'Open' -repos $milestone_repos
23 # Invoke-AgileQuery -queries $queries | Select-AgileNoMilestone | Show-MarkdownFromGitHub
24 Write-Host ""
25 Write-Host "Use command 'todo' to list more tasks."
26 Write-Host "Use command 'chart' to show todo item progress."
27 Write-Host "Use command 'agenda' to list the plan for today."
28 }
29
30 function Show-MyTeamWork() {
31 $team = @('ddriddle', 'zcarrington', 'tzturner', 'mpitcel', 'edthedev')
32 $team | ForEach-Object {
33 "## $_ - Issues Assigned"
34 Get-AgileQuery -Assignee $_ | Invoke-AgileQuery | Show-MarkdownFromGitHub
35 }
36 }
37
38 Export-ModuleMember -Function Show-MyDashboard
39 Export-ModuleMember -Function Show-MyTeamWork