venjiang 02356ec87f refactor: ollama provider (#866) | 1 月之前 | |
---|---|---|
.. | ||
serverless | 3 月之前 | |
viper | 5 月之前 | |
.gitignore | 2 年之前 | |
Makefile | 1 年之前 | |
README.md | 5 月之前 | |
Taskfile.yml | 7 月之前 | |
build.go | 3 月之前 | |
cli.go | 5 月之前 | |
dev.go | 3 月之前 | |
init.go | 5 月之前 | |
root.go | 5 月之前 | |
run.go | 3 月之前 | |
serve.go | 1 月之前 | |
test.go | 3 月之前 | |
version.go | 1 年之前 |
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
config.yaml
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