feat: Adds justfile with script to create new note and list last note.

This commit is contained in:
2025-11-24 09:28:53 -05:00
parent 769823e5cf
commit 48e9965d9c

16
justfile Normal file
View File

@@ -0,0 +1,16 @@
[private]
default:
@just --list
# Create a new note.
new *name:
@fname=$(echo {{name}} | tr " " "_") && \
doc="$(isosec).$fname.md" && \
echo "# {{name}}" > "$doc" && \
echo "$doc"
# Get the last note created.
last:
@/bin/ls -t *.md | head -1