summaryrefslogtreecommitdiff
path: root/fnl/plugins/snippets/org.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-07-25 01:31:34 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-07-25 01:31:34 +0200
commit3a007886fe248bedc5e189f5fb933379fdc72d12 (patch)
tree85608276db5f4d84f54492b41c51a0eae0d91b5e /fnl/plugins/snippets/org.fnl
parent0d18478b7471f347510a61e9361ab271d3b40abf (diff)
Refactor workflow snippets
Diffstat (limited to 'fnl/plugins/snippets/org.fnl')
-rw-r--r--fnl/plugins/snippets/org.fnl34
1 files changed, 1 insertions, 33 deletions
diff --git a/fnl/plugins/snippets/org.fnl b/fnl/plugins/snippets/org.fnl
index 0887821..a2b2e46 100644
--- a/fnl/plugins/snippets/org.fnl
+++ b/fnl/plugins/snippets/org.fnl
@@ -8,38 +8,6 @@
fmt fmt.fmt]
(ls.add_snippets :org
[(s :be
- (fmt "#+begin_src {}\n{}\n#+end_src" [(i 1) (i 2)]))
- (s :wf
- (fmt "workflow \"{}\" =
- input: {}
- output (on success):
- {}
- output (on error):
- {}
-
- // step {}
- do {}
- {}
- "
- [(i 1) (i 2) (i 3) (i 4) (i 5) (i 6) (i 7)]))
- (s :st
- (fmt "
- // step {}
- do {}
- If {}:
- {}
-
- "
- [(i 1) (i 2) (i 3) (i 4)]))
- (s :ss
- (fmt "
-substep \"{}\" =
- input: {}
- output: {}
- dependencies: {}
-
- {}
- "
- [(i 1) (i 2) (i 3) (i 4) (i 5)]))]))))
+ (fmt "#+begin_src {}\n{}\n#+end_src" [(i 1) (i 2)]))]))))
{: add-snippets}