m3o

command
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

Discord Banner


M3O CLI

The command line for M3O

Install

Quick install

curl -fssl https://install.m3o.com/cli | /bin/bash

From source

go get github.com/m3o/m3o-cli/cmd/m3o

Otherwise download the latest release binary.

Usage

Display help

m3o -h
API Token

Export your API token as found in the UI

export M3O_API_TOKEN=xxxxxx
List services
m3o explore list
Search services
m3o explore search --query=helloworld
Query service

Usage

m3o [service] [endpoint] --[param]=value

Example

m3o helloworld call --name=Alice
Client Call
$ m3o client call helloworld Call '{"name": "Alice"}'
{
 "message": "Hello Alice"
}
Client Stream
m3o client stream notes Subscribe '{}'

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package cli contains source code for the cli
Package cli contains source code for the cli

Jump to

Keyboard shortcuts

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