Venolio

Add-ons: command-line reference

For developers

venolio-addon <command> [options]. venolio-addon <command> --help prints the options. Errors go to standard error with exit status 1.

Project options

Every command except new works on a project folder and takes:

Option Meaning
--path <dir> The project (default: the current folder).
--no-build Use the existing build instead of running cargo.
--debug Build or use the debug profile instead of release.
--venolio-version <version> Check venolio_versions against this Venolio version (default: the one the tool targets).

Commands

new <dir>

Creates a working add-on: Cargo.toml, manifest.json, the library source with one entry point and native unit tests, test cases in tests/, a README.md and a .gitignore. Refuses a folder that is not empty.

Option Meaning
--id <id> The add-on ID (default com.example.<folder>).
--name <name> The display name (default: from the folder name).
--publisher <name> The publisher shown to administrators.
--kind <kind> The starting entry point: function (default, hello), action (remember), webhook (receive, with a trigger), panel (page_stats) or block (counter).
--sdk-path <dir> Depend on a local copy of the SDK crate instead of venolio-addon from crates.io.

build

Runs cargo build --release --target wasm32-unknown-unknown (or the debug build with --debug), then Venolio’s install checks on the manifest and the module, and prints the module’s size and SHA-256, the entry points and the requested permissions.

validate [target]

Runs the install checks without building. target is a project folder (default --path) or a package.json file; for a package it also checks sha256. --module <file> checks another module (.wasm, or .wat text) against the project’s manifest.

test [files…]

Builds (unless --no-build), checks the module, then runs the cases in tests/*.json (or the given files) in the sandbox with a stand-in host. See Testing. Exit status 1 if a case fails.

run <entry_point>

Runs one entry point with the input Venolio passes its kind (see Extension points) and prints the run report as JSON, including the run’s source.

Option Meaning
--input <json> / --input-file <file> A function’s input, or an action’s configured input (default null).
--trigger <json> Action: the event that started the automation.
--header "Name: value" Webhook: a request header (repeatable).
--body <text> / --body-file <file> Webhook: the request body.
--received-at <time> Webhook: when Venolio received it (RFC 3339; default now).
--event render|message, --page-id <uuid>, --teamspace-id <uuid>, --now <rfc3339>, --config <json>, --value <json> Panel or block: the event, the viewed page, its teamspace, the time of the run (default now), the block’s settings and a message value.
--manual Pass --input unchanged, like an administrator’s run of any kind.
--fixtures <file> Fixtures for the stand-in host (default: every requested scope granted, no data).
--module <file> Run this .wasm or .wat module instead of the project’s build.

Exit status 1 when the run does not succeed.

pack

Builds (unless --no-build), checks, and writes manifest.json, module.wasm and package.json to dist/<id>-<version>/ (or --out <dir>), then validates the written package. See Packaging and submitting.

publish

Uploading from the tool is not available yet. It prints how to submit the package for review (in the browser, or with a publishing token; see Submit an add-on) and exits with status 2.

About this part of Venolio: Let Claude, ChatGPT and Codex work in your workspace

Checked against the app on . The same help is built into the Venolio apps and works offline. Something wrong or missing? Tell us.