-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
The --counter
option assigns a serial number to new notes created with the zettel
command. Usage:
--counter COUNTER counter name (defaults to --id if present)
The file .counter.dat
maintains the count of zetteln written for each COUNTER. This is serialized in JSON.
I suggest switching to YAML since that will introduce newlines in the file and simplify resolution of git merge conflicts in distributed projects. Alternatively, users could add .counter.dat
to their .gitignore
. Then each local system would keep its own separate count, defeating the purpose of a counter.