summaryrefslogtreecommitdiff
path: root/jt.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-07-15 17:34:08 +0300
committerLars Wirzenius <liw@liw.fi>2021-07-15 17:34:08 +0300
commit80bd48f44c1ba6c5010f7d50fd9387b1c4424464 (patch)
tree94381a10bea6990ca5d017bb9067749f17ce614c /jt.md
parent0f3eeccc4403ddf27ad4e7cdffb8033dcab5f9cf (diff)
downloadjt2-80bd48f44c1ba6c5010f7d50fd9387b1c4424464.tar.gz
feat: add command to list current drafts
Sponsored-by: author
Diffstat (limited to 'jt.md')
-rw-r--r--jt.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/jt.md b/jt.md
index 0a945ea..f2729ff 100644
--- a/jt.md
+++ b/jt.md
@@ -158,6 +158,9 @@ and there is one draft in jrnl
and draft 0 in jrnl contains "Abracadabra"
and draft 0 in jrnl contains "!meta date="
+when I run jt2 --dirname=jrnl list
+then stdout matches regex ^0 Abracadabra$
+
given an executable script append.sh
when I run jt2 --editor=./append.sh --dirname=jrnl edit 0
then command is successful