1 function Get-JournalAgenda() {
2 agenda.exe -path "$HOME/Journal/{YYYY}/{MM}-{DD}.md"
5 function Measure-JournalTodos() {
6 $todocount = todolist | Measure-Object -Line
8 $env:todocount += $todocount.lines
15 Show a text dashboard.
20 Show-MyDashboard -todo
23 function Show-MyDashBoard() {
25 # [switch]$todocount=$true,
26 [switch]$agenda=$true,
41 Write-Host "## Todo items for today: $env:todocount"
46 Write-Host "## Agenda for today:"
51 Write-Host "## Blocked & Blocker Issues:"
52 Invoke-AgileCmd "gh issue list -S 'label:blocked,blocker'"
56 Write-Host "## Known Bugs"
57 Invoke-AgileCmd "gh issue list -S 'label:bug'"
61 Write-Host "## GitHub Status (gh status)"
62 Invoke-Expression "gh status"
65 Write-Host "## Dasbhoard Help"
66 Get-Help Show-MyDashboard
70 Write-Host "## Leeroy Jenkins!:"
71 Invoke-AgileCmd "gh issue list -l 'leeroy jenkins'"
75 Write-Host "## Issues with No Milestone"
76 Invoke-AgileCmd "gh issue list -S 'is:open is:issue no:milestone'"
80 Write-Host "## Open Pull Requests"
81 Invoke-AgileCmd "gh pr list"
85 Write-Host "## Open Stakeholder Requests"
86 invoke-agilecmd "gh issue list -S 'label:requested'"
90 Write-Host "## Todo List"
95 function Show-MyTeamWork() {
96 $team = @('ddriddle', 'zcarrington', 'tzturner', 'mpitcel', 'edthedev')
97 $team | ForEach-Object {
98 "## $_ - Issues Assigned"
99 Get-AgileQuery -Assignee $_ | Invoke-AgileQuery | Show-MarkdownFromGitHub
103 Export-ModuleMember -Function Show-MyDashboard
104 Export-ModuleMember -Function Show-MyTeamWork