function Measure-JournalTodos() {
$todocount = todolist | Measure-Object -Line
+ if(Test-Path $env:todohist) {
+ $env:todocount = Get-Content -Path $env:todohist
+ }
$env:todocount += '|'
$env:todocount += $todocount.lines
+ $env:todocount | Out-File -Path $env:todohist
}
.EXAMPLE
-Get-CommitsSince -From 2023.01.01
+Show-GitRevList -From 2023.01.01
#>
function Show-GitRevList() {
function Show-MyDashBoard() {
param(
# [switch]$todocount=$true,
- [switch]$agenda=$true,
+ # [switch]$agenda,
[switch]$blocked,
[switch]$bugs,
[switch]$gitHub,
Write-Host "## Todo items for today: $env:todocount"
chart -var todocount
}
+ $agenda = $true
if($agenda){
Write-Host ""
Write-Host "## Agenda for today:"