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 "## GitHub Status (gh status)"
57 Invoke-Expression "gh status"
61 Write-Host "## Leeroy Jenkins!:"
62 Invoke-AgileCmd "gh issue list -l 'leeroy jenkins'"
66 Write-Host "## Known Bugs"
67 Invoke-AgileCmd "gh issue list -S 'label:bug'"
71 Write-Host "## Todo List"
76 Write-Host "## Open Stakeholder Requests"
77 invoke-agilecmd "gh issue list -S 'label:requested'"
81 Write-Host "## Open Pull Requests"
82 Invoke-AgileCmd "gh pr list"
86 Write-Host "## Issues with No Milestone"
87 Invoke-AgileCmd "gh issue list -S 'is:open is:issue no:milestone'"
90 Write-Host "## Dasbhoard Help"
91 Get-Help Show-MyDashboard
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