Creating Runnables
You'll need to install the subo CLI tool and Docker to use Atmo.
To install the tool, visit the subo repository.
Docker is used to build Runnables and run the Atmo development server.

Create a Runnable

You can create a new Runnable with subo:
1
> subo create runnable myfunction
Copied!
By default, Rust will be used. To use Swift, pass --lang:
1
> subo create runnable myswiftfunction --lang=swift
Copied!
Each runnable has a .runnable.yaml that describes it. The name you provide to the create runnable command is the name that will be used to call the Runnable in Directive handlers, which are discussed next.
Your Runnables will use the Runnable API to access resources such as the network, files, and more. Read more by clicking on the link or continuing through the guide.
Last modified 2mo ago
Export as PDF
Copy link