Skip to content

civex plugin

Inspect available workflow plugins

Command Description
check Check that a plugin's header says what its code does.
info Show a plugin's inputs, outputs, capabilities, and config schema.
list List registered plugins (built-ins and custom).

civex plugin check

Check that a plugin's header says what its code does.

A plugin declares its id, capabilities, inputs, outputs and config in its header, under [tool.civex], so civex knows it without running it. This runs the plugin once to ask, and compares. With --write it writes the header from the code's answer and locks the plugin's dependencies, so it runs exactly what was resolved now. Saving a plugin from the app does the same. Exits 1 when the header is missing or disagrees (without --write).

Usage

civex plugin check [OPTIONS] FILENAME

Arguments

Argument Type Required Description
FILENAME str yes A plugin file in _civex/plugins/, e.g. tidy.py (or just tidy).

Options

Option Type Default Description
--write flag false Write the header from what the code says, and lock its dependencies.

civex plugin info

Show a plugin's inputs, outputs, capabilities, and config schema.

Usage

civex plugin info PLUGIN_ID

Arguments

Argument Type Required Description
PLUGIN_ID str yes Plugin ID

civex plugin list

List registered plugins (built-ins and custom).

Usage

civex plugin list