diff options
Diffstat (limited to 'jt.md')
-rw-r--r-- | jt.md | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -309,6 +309,26 @@ and there is one draft in jrnl and draft 0 in jrnl links to "topics/foo.bar" ~~~ +## Allow many topics per post + +Sometimes a post relates to several topics. + +~~~scenario +given an installed jt + +when I run jt --dirname jrnl init default "My test journal" +then command is successful + +when I run jt --editor=none --dirname=jrnl new-topic topics/foo "Foo" +when I run jt --editor=none --dirname=jrnl new-topic topics/bar "Bar" + +when I run jt --editor=none --dirname=jrnl new --topic topics/foo --topic topics/bar "Abracadabra" +then command is successful +then there is one draft in jrnl +then draft 0 in jrnl links to "topics/foo" +then draft 0 in jrnl links to "topics/bar" +~~~ + # Colophon |