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,
17 [switch]$todolist=$false,
18 [switch]$orphans=$false
23 Write-Host "## Todo items for today: $env:todocount"
28 Write-Host "## Agenda for today:"
33 Write-Host "## GitHub Status (gh status)"
34 Invoke-Expression "gh status"
38 Write-Host "## Known Bugs"
39 Invoke-AgileCmd "gh issue list -S 'label:bug'"
43 Write-Host "## Todo List"
48 Write-Host "## Issues with No Milestone"
49 Invoke-AgileCmd "gh issue list -S 'is:open is:issue no:milestone'"
53 function Show-MyTeamWork() {
54 $team = @('ddriddle', 'zcarrington', 'tzturner', 'mpitcel', 'edthedev')
55 $team | ForEach-Object {
56 "## $_ - Issues Assigned"
57 Get-AgileQuery -Assignee $_ | Invoke-AgileQuery | Show-MarkdownFromGitHub
61 Export-ModuleMember -Function Show-MyDashboard
62 Export-ModuleMember -Function Show-MyTeamWork