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
11 function Show-MyDashBoard() {
13 # [switch]$todocount=$true,
14 [switch]$agenda=$true,
15 [switch]$gitHub=$false,
19 [switch]$requested=$false,
20 [switch]$orphans=$false
26 Write-Host "## Todo items for today: $env:todocount"
31 Write-Host "## Agenda for today:"
36 Write-Host "## GitHub Status (gh status)"
37 Invoke-Expression "gh status"
41 Write-Host "## Known Bugs"
42 Invoke-AgileCmd "gh issue list -S 'label:bug'"
46 Write-Host "## Todo List"
51 Write-Host "## Open Stakeholder Requests"
52 invoke-agilecmd "gh issue list -S 'label:requested'"
56 Write-Host "## Open Pull Requests"
57 Invoke-AgileCmd "gh pr list"
61 Write-Host "## Issues with No Milestone"
62 Invoke-AgileCmd "gh issue list -S 'is:open is:issue no:milestone'"
66 function Show-MyTeamWork() {
67 $team = @('ddriddle', 'zcarrington', 'tzturner', 'mpitcel', 'edthedev')
68 $team | ForEach-Object {
69 "## $_ - Issues Assigned"
70 Get-AgileQuery -Assignee $_ | Invoke-AgileQuery | Show-MarkdownFromGitHub
74 Export-ModuleMember -Function Show-MyDashboard
75 Export-ModuleMember -Function Show-MyTeamWork