diff options
author | Daniel Silverstone <dsilvers+gitlab@digital-scurf.org> | 2020-09-12 16:16:32 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers+gitlab@digital-scurf.org> | 2020-09-12 16:16:32 +0000 |
commit | 9243b189a1a12bc0ed819d59cd3cbe9ce5d37c2a (patch) | |
tree | 1f3a846448a2fcb943e805c58ac371ee0ea59bb7 /jt.yaml | |
parent | bddb592c4cb89e76796b17dd5bed823eba7e2b0e (diff) | |
parent | d4e8b0409d6bc99522a6a995349e9779b9c9cd62 (diff) | |
download | jt2-9243b189a1a12bc0ed819d59cd3cbe9ce5d37c2a.tar.gz |
Merge branch 'init' into 'master'
feat: create and initialise a new journal
Closes #1
See merge request larswirzenius/jt!2
Diffstat (limited to 'jt.yaml')
-rw-r--r-- | jt.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -0,0 +1,16 @@ +- when: I run jt init (?P<dirname>\S+) (?P<journalname>\S+) "(?P<title>.*)" + regex: true + function: run_jt_init + +- when: I run jt list-journals + function: run_jt_list_journals + +- when: I run jt is-journal {dirname} + function: run_jt_is_journal + +- then: directory {dirname} exists + function: is_directory + +- then: output contains "(?P<pattern>.*)" + regex: true + function: output_contains |