diff options
-rw-r--r-- | subplot/jt.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/subplot/jt.yaml b/subplot/jt.yaml index 0c50413..a121ddf 100644 --- a/subplot/jt.yaml +++ b/subplot/jt.yaml @@ -11,6 +11,10 @@ function: create_script - when: I invoke jt init (?P<dirname>\S+) (?P<journalname>\S+) "(?P<title>.*)" + types: + dirname: word + journalname: word + title: text regex: true impl: python: @@ -48,6 +52,8 @@ function: edit_draft - then: output contains "(?P<pattern>.*)" + types: + pattern: text regex: true impl: python: |