]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Helper for pulling stats on project focus each year
authorEdward Delaporte <delaport@illinois.edu>
Tue, 9 Jan 2024 14:33:45 +0000 (08:33 -0600)
committerEdward Delaporte <delaport@illinois.edu>
Tue, 9 Jan 2024 14:33:45 +0000 (08:33 -0600)
psmodules/dash.psm1

index b300366eb25c12832bde3b16795be44eaa2021ae..d8fa0df867411e55c9a761b7eea92f34e58d20a9 100644 (file)
@@ -8,6 +8,25 @@ function Measure-JournalTodos() {
        $env:todocount += $todocount.lines
 }
 
        $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
 <#
 
 .SYNOPSIS