X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/a915de89d5fab58b7913c6e07a4713dd7cf58b15..f98a062ffa4564c87ef31efbe84b68be49d362da:/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 ""