From ad555c53846465565c8c983eacf2b481e553aecc Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Tue, 9 Jan 2024 08:33:45 -0600 Subject: [PATCH] Helper for pulling stats on project focus each year --- psmodules/dash.psm1 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/psmodules/dash.psm1 b/psmodules/dash.psm1 index b300366..d8fa0df 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 -- 2.47.3