commit ec1a29a5ad65a4810ac38fbc4243a6783a6b09f7
parent 67d8d41fa88f4c2a222410a30f5427ace716966b
Author: Yongbin Kim <iam@yongbin.kim>
Date: Sun, 19 Nov 2023 03:52:17 +0900
Add example yaml
Diffstat:
2 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -17,6 +17,8 @@
!README
!LICENSE
+!/examples/*.yaml
+
# !Makefile
# ...even if they are in subdirectories
diff --git a/examples/hello-world.yaml b/examples/hello-world.yaml
@@ -0,0 +1,11 @@
+- name: Make Greeting
+ type: Function
+ input:
+ - name: String
+ - entered:
+ output:
+ - message: String
+ behavior: >
+ This method creates a greetings message.
+ If the entered variable is true, the message format is: "Hi, ${name}!"
+ If the entered variable is false, the message format is: "Bye, ${name}!"