Command Line Interface

Obelisk Server

Running the Server

obelisk server run

Following optional options can be provided:

If the -c switch is not provided, Obelisk attempts to find the TOML configuration automatically in the following paths:

  1. obelisk.toml in the current directory

  2. $CONFIG_DIR/obelisk/obelisk.toml - See Path Prefixes

  3. /etc/obelisk/obelisk.toml

Verifying the Server Configuration

Instead of running the server one might wish just to verify the TOML configuration. This includes:

obelisk server verify [OPTIONS]

Following optional options can be provided:

Obelisk Client

Submitting an execution

obelisk client execution submit [OPTIONS] <FUNCTION> [PARAMETERS]

Arguments:

Accepted Parameter Formats:

Options:

Getting the current execution state

obelisk client execution get [OPTIONS] <EXECUTION_ID>

Same as with the submit command, the execution can be followed until it finishes:

Providing the result of a stubbed activity

obelisk client execution stub <--return-value <RETURN_VALUE>|--empty|--error> <EXECUTION_ID>

Options:

Listing available components and functions

obelisk client component list [OPTIONS]

Options:

Inspecting provided WASM file

This command does not connect to the server, but it outputs the exported functions of a WASM component similarily to obelisk client component list.

obelisk client component inspect [OPTIONS] <COMPONENT_TYPE> <PATH>

Arguments:

Options:

Pushing a WASM Component into an OCI Registry

This command does not connect to the server. Use docker login to authenticate against the OCI registry first.

obelisk client component push <PATH> <IMAGE_NAME>

Arguments:

Obelisk Generate

Generating extension functions

The extension WIT files of a given WASM component can be generated using:

obelisk generate extensions <COMPONENT_TYPE> <INPUT_WIT_DIRECTORY> [OUTPUT_DEPS_DIRECTORY]

Arguments: