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/yomo/cmd/yomo@latest
Or you can install into another directory:
env GOBIN=/bin go install github.com/yomorun/yomo/cmd/yomo@latest
yomo serve --config ../example/config.yaml
See ../example/9-cli/source/main.go
cd ../example/9-cli/source
go run main.go
See ../example/9-cli/sfn/app.go
Build the app.go, defaults to sfn.yomo binary file, with -w
flag to generate a WebAssembly file.
cd ../example/9-cli/sfn
yomo build
yomo run sfn.yomo