1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Rework notes task to make edit the primary one

What was 'edit' has been renamed to 'open'. And 'edit' is now what was
not so clearly named 'save'.
This commit is contained in:
jbranchaud
2025-10-26 17:14:51 -05:00
parent e473fa781d
commit 6b4b2c588c

View File

@@ -23,6 +23,12 @@ tasks:
interactive: true
silent: true
notes:edit:
desc: All-in-one edit, commit, and push notes
cmds:
- task notes:open
- task notes:push
notes:sync:
desc: Sync latest changes from the notes submodule
cmds:
@@ -30,8 +36,8 @@ tasks:
- cd {{.NOTES_DIR}} && git checkout main
silent: false
notes:edit:
desc: Edit NOTES.md (syncs latest changes first)
notes:open:
desc: Opens NOTES.md (syncs latest changes first) in default editor
deps: [notes:sync]
cmds:
- $EDITOR {{.NOTES_FILE}}
@@ -52,12 +58,6 @@ tasks:
cmds:
- git status
notes:save:
desc: Quick save - edit, commit, and push notes
cmds:
- task notes:edit
- task notes:push
notes:pull:
desc: Pull latest changes (alias for sync)
cmds: