summaryrefslogtreecommitdiff
path: root/jt.md
diff options
context:
space:
mode:
Diffstat (limited to 'jt.md')
-rw-r--r--jt.md33
1 files changed, 32 insertions, 1 deletions
diff --git a/jt.md b/jt.md
index c765d03..c8beace 100644
--- a/jt.md
+++ b/jt.md
@@ -23,17 +23,48 @@ journal for the user, and a new journal entry. The entry is a draft
until it's finished.
~~~sh
-$ jt create ~/Journal default "My private journal"
+$ jt init ~/Journal default "My private journal"
$ jt new --tag meta --tag journalling "My first journal entry"
... # text editor is opened so the new entry can be written
$ jt finish
~~~
+# Acceptance criteria and their verification
+
+This chapter defines detailed acceptance criteria and how they're
+verified using *scenarios* for the [Subplot][] tool.
+
+[Subplot]: https://subplot.liw.fi/
+
+## Create a new local journal repository
+
+`jt` works on a local repository, and it can be created an initialised
+using the tool.
+
+~~~scenario
+when I run jt init jrnl default "My test journal"
+then program finished successfully
+and directory jrnl exists
+
+when I run jt is-journal jrnl
+then program finished successfully
+
+when I run jt is-journal bogus
+then exit code is non-zero
+~~~
+
+
---
title: "jt—a journalling tool"
author:
- Lars Wirzenius
- Daniel Silverstone
+bindings:
+- jt.yaml
+- runcmd.yaml
+functions:
+- jt.py
+- runcmd.py
...