dnote on windows

dnotes is a simple CLI note taker that I want to use on windows to quickly capture information throughout my day.

I wanted a quicker way to capture my daily notes so here's a little powershell script to do just that

Set-Alias daily Call-New-Note 
function Call-New-Note {
    $deets = dnote a daily -c "# $(Get-Date -UFormat "%d:%m:%Y_%R" | ForEach-Object { $_ -replace ":", "." })"
    $id = ($deets -split " id: ")[4]
    dnote e $id
}