X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/514dd4387a94e5b9b1eed5354d2667737d5af093..bb7fb92def57e5ba930d4df56adead2c61f8dbc3:/psmodules/dash.psm1 diff --git a/psmodules/dash.psm1 b/psmodules/dash.psm1 index b300366..bca0ea7 100644 --- a/psmodules/dash.psm1 +++ b/psmodules/dash.psm1 @@ -8,6 +8,25 @@ function Measure-JournalTodos() { $env:todocount += $todocount.lines } + +<# + +.EXAMPLE + +Get-CommitsSince -From 2023.01.01 + +#> +function Show-GitRevList() { + param( + [string]$from + ) + Invoke-AgileCmd "git rev-list HEAD --count --since=$from" +} + +Export-ModuleMember -Function Show-GitRevList + + + <# .SYNOPSIS @@ -49,7 +68,7 @@ function Show-MyDashBoard() { if($blocked){ Write-Host "" Write-Host "## Blocked & Blocker Issues:" - Invoke-AgileCmd "gh issue list -S 'label:blocked,blocker'" + Invoke-AgileCmd "gh issue list -S 'label:blocked,blocker,needs context'" } if($bugs) { Write-Host ""