cli

module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2021 License: Apache-2.0

README

YoMo CLI

Command-line tools for YoMo

Prerequisites

Installing Go

Installing

go install github.com/yomorun/cli/yomo@latest

Getting Started

1.Source
Write a source app

See example/source/main.go

Run
go run main.go
2.Flow
Init

Create a serverless function

yomo init [Name]
Run
yomo run --name [Name] app.go
3.Sink
Write a sink app

See example/sink/main.go

Run
go run main.go
4.Zipper
Configure zipper workflow.yaml
name: Service
host: localhost
port: 9000
flows:
  - name: Noise
sinks:
  - name: MockDB
Run
yomo serve --config workflow.yaml

Example

Prerequisites

Installing task

Simple Example
Run
task example
Edge-Mesh
Run US Node
task example-mesh-us
Run EU Node
task example-mesh-eu

Directories

Path Synopsis
pkg
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL