Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Command line

Everything Tappet does is in one executable, tappet. This page lists every command and option of the version it was generated from. Run tappet <command> --help for the version you have installed.

Every command reads the same configuration as the server: environment variables (TAPPET_*) and an optional tappet.toml. Command-line flags override both. See Configuration and the variable index.

Exit status

CodeMeaning
0Success.
1The operation failed: a workflow run did not succeed, a credential test failed, lint found errors, or an infrastructure error occurred.
2Usage or input error: invalid arguments, invalid JSON, an import error, invalid configuration, an unknown id or a missing file.

A second SIGINT or SIGTERM during shutdown exits with 130.

Global options

These options are accepted by every command.

OptionDescription
--config <FILE>Path to a tappet.toml configuration file.
--log-format <LOG_FORMAT>Log output format (overrides TAPPET_LOG_FORMAT). Values: text, json.
--log-level <FILTER>Log filter, e.g. info or tappet_engine=debug (overrides TAPPET_LOG_LEVEL).

Commands

CommandDescription
tappet serveRun the HTTP server (API, webhooks, UI) and, with role all, the workers.
tappet workerRun a queue worker without the HTTP server (HA deployments).
tappet importImport an exported n8n workflow and print the compatibility report.
tappet exportExport a stored workflow as n8n JSON or tappet JSON.
tappet runExecute a workflow once and print the result as JSON.
tappet credentialsManage credentials.
tappet keysManage the credential key-encryption key.
tappet migrateApply database migrations and exit.
tappet connectorConnector authoring tools.
tappet lintRepository checks.
tappet parityBehavioral parity harness against a reference n8n instance.
tappet configPrint the effective configuration as JSON (secrets redacted).
tappet versionPrint version information.

tappet serve

Run the HTTP server (API, webhooks, UI) and, with role all, the workers.

tappet serve [OPTIONS]
OptionDescription
--role <ROLE>Values: all: API, webhooks, UI and workers in one process. api: API, webhooks and UI only; executions are left to tappet worker processes. Default: all.
--tunnel <TUNNEL>Expose this instance through a temporary public tunnel (development only). Values: cloudflared: Start a Cloudflare quick tunnel and use its URL as TAPPET_PUBLIC_URL.
--host <HOST>Listen address (overrides TAPPET_HOST).
--port <PORT>Listen port (overrides TAPPET_PORT).
--concurrency <CONCURRENCY>Concurrent executions for role all (overrides TAPPET_WORKER_CONCURRENCY).

tappet worker

Run a queue worker without the HTTP server (HA deployments).

tappet worker [OPTIONS]
OptionDescription
--concurrency <CONCURRENCY>Concurrent executions (overrides TAPPET_WORKER_CONCURRENCY).

tappet import

Import an exported n8n workflow and print the compatibility report.

tappet import [OPTIONS] <FILE>
ArgumentDescription
<FILE>Exported workflow JSON file (- reads standard input). Required.
OptionDescription
--project <PROJECT>Target project id or name (default: TAPPET_DEFAULT_PROJECT or the owner’s first project).
--activateActivate the workflow after import (refused when nodes are unsupported).
--report <REPORT>Values: json, text. Default: text.

tappet export

Export a stored workflow as n8n JSON or tappet JSON.

tappet export [OPTIONS] <ID>
ArgumentDescription
<ID>Workflow id. Required.
OptionDescription
--format <FORMAT>Values: n8n, tappet. Default: n8n.
-o, --output <OUTPUT>Write to this file instead of standard output.

tappet run

Execute a workflow once and print the result as JSON.

Exit status: 0 success, 1 the execution failed (error, canceled or left waiting), 2 invalid arguments or the workflow could not be imported.

tappet run [OPTIONS] <TARGET>
ArgumentDescription
<TARGET>Stored workflow id, or a path to a workflow JSON file (n8n export or tappet format). Required.
OptionDescription
--input <INPUT>Input items as JSON: an object (one item) or an array of objects.
--input-file <INPUT_FILE>Read input items from a JSON file (- reads standard input).
--pin-file <PIN_FILE>Pinned node outputs: { "<node name>": [ {..item..}, ... ] }.
--project <PROJECT>Project for inline (file) workflows.
--trigger <TRIGGER>Start from this trigger node instead of the auto-detected one.
--fullInclude the full per-node run data in the output.
--forceRun even when the import reports unsupported nodes.

tappet credentials

Manage credentials.

tappet credentials [OPTIONS] <COMMAND>
CommandDescription
tappet credentials listList credentials (secrets are never shown).
tappet credentials createCreate a credential. Prefer –data-file (or - for stdin) over –data so secrets stay out of shell history.
tappet credentials testRun the credential’s test request.
tappet credentials linkPoint a workflow’s imported credential placeholders at a stored credential.

tappet credentials list

List credentials (secrets are never shown).

tappet credentials list [OPTIONS]
OptionDescription
--project <PROJECT>
--format <FORMAT>Values: json, text. Default: text.

tappet credentials create

Create a credential. Prefer –data-file (or - for stdin) over –data so secrets stay out of shell history.

tappet credentials create [OPTIONS] --name <NAME> --kind <KIND>
OptionDescription
--name <NAME>Required.
--kind <KIND>Credential kind, e.g. http.bearer or slack/oauth2. Required.
--project <PROJECT>
--data <DATA>Field values as a JSON object.
--data-file <DATA_FILE>JSON object file with field values (- reads standard input).
--field <KEY=VALUE>Single field as key=value (repeatable; merged over –data).

tappet credentials test

Run the credential’s test request.

tappet credentials test [OPTIONS] <ID>
ArgumentDescription
<ID>Required.

Point a workflow’s imported credential placeholders at a stored credential.

tappet credentials link [OPTIONS] --credential <CREDENTIAL> <WORKFLOW>
ArgumentDescription
<WORKFLOW>Workflow id. Required.
OptionDescription
--credential <CREDENTIAL>Credential id to link. Required.
--name <NAME>Only placeholders with this credential name (as exported from n8n).
--n8n-type <N8N_TYPE>Only placeholders with this n8n credential type (e.g. slackApi).
--node <NODE>Only this node.
--relinkAlso replace slots that are already linked to another credential.

tappet keys

Manage the credential key-encryption key.

tappet keys [OPTIONS] <COMMAND>
CommandDescription
tappet keys generatePrint a new random base64 key suitable for TAPPET_ENCRYPTION_KEY.
tappet keys rotateRe-wrap every credential key under a new KEK.

tappet keys generate

Print a new random base64 key suitable for TAPPET_ENCRYPTION_KEY.

tappet keys generate [OPTIONS]

tappet keys rotate

Re-wrap every credential key under a new KEK.

tappet keys rotate [OPTIONS]
OptionDescription
--new-key-env <NEW_KEY_ENV>Environment variable holding the new base64 key. Default: TAPPET_NEW_ENCRYPTION_KEY.
--new-key-file <NEW_KEY_FILE>File holding the new base64 key.
--new-version <NEW_VERSION>Version number of the new key (default: current + 1).

tappet migrate

Apply database migrations and exit.

tappet migrate [OPTIONS]

tappet connector

Connector authoring tools.

tappet connector [OPTIONS] <COMMAND>
CommandDescription
tappet connector lintValidate connector definitions.
tappet connector testValidate a connector’s cassette tests.
tappet connector newScaffold a new connector directory.

tappet connector lint

Validate connector definitions.

tappet connector lint [OPTIONS] [ID]
ArgumentDescription
<ID>Connector id (default: every connector).
OptionDescription
--dir <DIR>Default: connectors.

tappet connector test

Validate a connector’s cassette tests.

tappet connector test [OPTIONS] <ID>
ArgumentDescription
<ID>Required.
OptionDescription
--dir <DIR>Default: connectors.

tappet connector new

Scaffold a new connector directory.

tappet connector new [OPTIONS] <ID>
ArgumentDescription
<ID>Required.
OptionDescription
--dir <DIR>Default: connectors.
--display-name <DISPLAY_NAME>Display name (default: derived from the id).
--base-url <BASE_URL>Vendor API base URL.

tappet lint

Repository checks.

tappet lint [OPTIONS] <COMMAND>
CommandDescription
tappet lint provenanceCheck that connectors declare provenance and mappings cite evidence (SPEC §1.1).

tappet lint provenance

Check that connectors declare provenance and mappings cite evidence (SPEC §1.1).

tappet lint provenance [OPTIONS]
OptionDescription
--root <ROOT>Repository root. Default: ..
--strictTreat mapping rules without evidence as errors.
--format <FORMAT>Values: json, text. Default: text.

tappet parity

Behavioral parity harness against a reference n8n instance.

tappet parity [OPTIONS] <COMMAND>
CommandDescription
tappet parity captureRecord golden traces from the reference instance.
tappet parity runRun fixtures in tappet and compare with the goldens.

tappet parity capture

Record golden traces from the reference instance.

tappet parity capture [OPTIONS] [-- <REST>...]
ArgumentDescription
<REST>Extra arguments passed to the harness after --.
OptionDescription
--fixture <FIXTURE>Fixture id under parity/fixtures.
--connector <CONNECTOR>Every fixture of one connector.

tappet parity run

Run fixtures in tappet and compare with the goldens.

tappet parity run [OPTIONS] [-- <REST>...]
ArgumentDescription
<REST>Extra arguments passed to the harness after --.
OptionDescription
--fixture <FIXTURE>Fixture id under parity/fixtures.
--connector <CONNECTOR>Every fixture of one connector.

tappet config

Print the effective configuration as JSON (secrets redacted).

tappet config [OPTIONS]

tappet version

Print version information.

tappet version [OPTIONS]
OptionDescription
--jsonMachine-readable output.