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]$orphans=$false
25 Write-Host "## Todo items for today: $env:todocount"
30 Write-Host "## Agenda for today:"
35 Write-Host "## GitHub Status (gh status)"
36 Invoke-Expression "gh status"
40 Write-Host "## Known Bugs"
41 Invoke-AgileCmd "gh issue list -S 'label:bug'"
45 Write-Host "## Todo List"
50 Write-Host "## Open Pull Requests"
51 Invoke-AgileCmd "gh pr list"
55 Write-Host "## Issues with No Milestone"
56 Invoke-AgileCmd "gh issue list -S 'is:open is:issue no:milestone'"
60 function Show-MyTeamWork() {
61 $team = @('ddriddle', 'zcarrington', 'tzturner', 'mpitcel', 'edthedev')
62 $team | ForEach-Object {
63 "## $_ - Issues Assigned"
64 Get-AgileQuery -Assignee $_ | Invoke-AgileQuery | Show-MarkdownFromGitHub
68 Export-ModuleMember -Function Show-MyDashboard
69 Export-ModuleMember -Function Show-MyTeamWork