npm.io
0.1.0 • Published yesterdayCLI

@usemojo/cli

Licence
MIT
Version
0.1.0
Deps
0
Size
387 kB
Vulns
0
Weekly
0

@usemojo/cli

The official command-line client for Mojo.

npm install --global @usemojo/cli
mojo --help

Set MOJO_API_KEY, then quote and run a workload:

mojo quote research_company --input '{"company":"Acme"}' --max-usd 5
mojo run research_company --input '{"company":"Acme"}' --max-usd 5 --wait

The public API is not live yet. Use MOJO_API_URL to point the CLI at a development environment.

Keywords