Command-line tools for YoMo
curl -fsSL https://get.yomo.run | sh
You can easily install the latest release globally by running:
go install github.com/yomorun/cli/yomo@latest
Or you can install into another directory:
env GOBIN=/bin go install github.com/yomorun/cli/yomo@latest
go run main.go
Create a stream function
yomo init [Name]
cd [Name] && yomo run
OR in Production
cd [Name] && yomo build && ./sl.yomo
See example/stream-fn-db/app.go
cd example/stream-fn-db && yomo run
OR in Production
cd example/stream-fn-db && yomo build && ./sl.yomo
name: Service
host: localhost
port: 9000
functions:
- name: Noise
- name: MockDB
yomo serve --config workflow.yaml
task example
task example-mesh-us
task example-mesh-eu