cli + tui to publish to leaflet (wip) & manage tasks, notes & watch/read lists 馃崈
charm
leaflet
readability
golang
1---
2title: Task Templates
3sidebar_label: Templates
4description: Shell helpers for creating consistent task structures.
5sidebar_position: 9
6---
7
8# Task Templates
9
10While templates aren't built-in, you can create shell functions for common task patterns:
11
12```sh
13# In your ~/.bashrc or ~/.zshrc
14bug() {
15 noteleaf task add "$1" \
16 --project $(git rev-parse --show-toplevel | xargs basename) \
17 --tags bug \
18 --priority high
19}
20
21meeting() {
22 noteleaf task add "$1" \
23 --project work \
24 --context @office \
25 --recur "FREQ=WEEKLY;BYDAY=$2"
26}
27```
28
29Usage:
30
31```sh
32bug "Fix login redirect"
33meeting "Sprint planning" "MO"
34```