This is the multi-page printable view of this section. Click here to print.
1 - Wafl
wafl (lovingly pronounced “waffle”) is the Wasmflow utility binary. It is an RPC client, project bootstrapper, and registry manipulator (among other things).
You don’t need
wafl to run
wasmflow. It can be distributed or updated on its own and omitted from deployments.
wafl <COMMAND> <SUBCOMMAND>
rpc subcommands connect to a remote
wasmflow host and issue an RPC request.
rpc invoke: Invoke a component on the remote host.
rpc list: Retrieve the list of exposed components on the remote host.
rpc stats: Get the running statistics of the remote host.
project subcommands houses functions that help you build, deploy, and maintain applications.
project new: Create a new
component subcommands help you build new components in an existing project.
component new: Create a new schema for a
registry subcommands are for interacting with an OCI registry.
registry push: Push an image to an OCI registry.
registry pull: Pull an image from an OCI registry.
wasm subcommands help you sign, inspect, and manage WasmFlow WebAssembly artifacts.
wasm sign: Sign a
.wasmfile with local keys.
wasm inspect: Inspect the embedded details of a signed Wasmflow
bundle subcommands help you manage native, multi-architecture binary collections.
bundle pack: Create a signed archive bundle.
Prints the help message with more details on commands and arguments.
2 - Wasmflow
wasmflow is the runtime executor for Wasmflow manifests and WebAssembly collections.
Start a persistent host from a manifest or .wasm module, optionally exposing an RPC microservice or connecting to a mesh of hosts across a message queue.
Invoke a component exposed in a manifest or a .wasm module.
Print the components exposed by a manifest or a .wasm module.
Load a manifest or .wasm module and run automated unit tests against its components.
Prints this message or the help of the given subcommand(s)