summaryrefslogtreecommitdiff
path: root/subplot/jt.yaml
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers+gitlab@digital-scurf.org>2020-10-12 07:02:46 +0000
committerDaniel Silverstone <dsilvers+gitlab@digital-scurf.org>2020-10-12 07:02:46 +0000
commitb3bcb11938f7bebdc15eef8fdb1e2267d39b2818 (patch)
tree0b9c5a1d8912f98e0eeebff38ca9d5b437f241b3 /subplot/jt.yaml
parent9243b189a1a12bc0ed819d59cd3cbe9ce5d37c2a (diff)
parente8a9639a00cf4ccd2665fd3b6fe499cf77b88c14 (diff)
downloadjt2-b3bcb11938f7bebdc15eef8fdb1e2267d39b2818.tar.gz
Merge branch 'subplot' into 'master'
Port jt to use current runcmd from Subplot See merge request larswirzenius/jt!3
Diffstat (limited to 'subplot/jt.yaml')
-rw-r--r--subplot/jt.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/subplot/jt.yaml b/subplot/jt.yaml
new file mode 100644
index 0000000..77b8c82
--- /dev/null
+++ b/subplot/jt.yaml
@@ -0,0 +1,16 @@
+- when: I invoke jt init (?P<dirname>\S+) (?P<journalname>\S+) "(?P<title>.*)"
+ regex: true
+ function: run_jt_init
+
+- when: I invoke jt list-journals
+ function: run_jt_list_journals
+
+- when: I invoke 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