]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - psmodules/dash.psm1
Helper for pulling stats on project focus each year
[dotfiles.git] / psmodules / dash.psm1
index b300366eb25c12832bde3b16795be44eaa2021ae..d8fa0df867411e55c9a761b7eea92f34e58d20a9 100644 (file)
@@ -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