Skip to content

CLI

@lokvis/cli provides terminal access to Lokvis: run workflows, list capabilities, scaffold plugins.

Terminal window
pnpm add -g @lokvis/cli
Terminal window
lokvis run ./my-workflow.json ./input.png

Loads a workflow JSON and runs it on the input files. Note: capabilities that depend on browser APIs (Canvas, createImageBitmap) cannot run in Node.js — use the Web app for those.

Terminal window
lokvis capabilities

Lists all built-in capability declarations.

Terminal window
lokvis plugin create my-plugin

Scaffolds a new plugin package with the standard layout.

Terminal window
lokvis version
lokvis help