Plugin CLI Reference
Installing Ciaren (pip install ciaren, or pip install -e . from a
source checkout) exposes a ciaren-plugin command,
a separate entry point from ciaren for the plugin lifecycle (install,
enable/disable) and, for publishers, authoring tooling (signing, packaging,
manifest generation, marketplace indexing, license issuance). It's split out
so the everyday ciaren surface used to run the app stays
small. Publisher tooling (keygen, sign, license issue) and checking a
signature need pip install ciaren[signing]. Without it, a signed package
verifies as untrusted because its signature cannot be checked; unsigned
packages and everything else work with the base install.
ciaren-plugin --help
ciaren-plugin --versionMoved from `ciaren plugin`
Plugin commands used to live under ciaren plugin .... Running that form now
prints a pointer to ciaren-plugin instead of failing with an opaque
"invalid choice" error.
ciaren-plugin list # discovered plugins + status
ciaren-plugin list --output json # machine-readable (also on verify, search, licenses)
ciaren-plugin install my-plugin.ciarenplugin # verify + install
ciaren-plugin install ./src --dir # install from a source directory
ciaren-plugin install my-plugin.ciarenplugin --trusted # require a trusted signature
ciaren-plugin uninstall acme.myplugin
ciaren-plugin verify my-plugin.ciarenplugin # trusted | untrusted | unsigned | invalid
ciaren-plugin enable acme.myplugin
ciaren-plugin disable acme.myplugin
# Publisher tooling (needs `ciaren[signing]`):
ciaren-plugin keygen # generate an Ed25519 keypair
ciaren-plugin pack ./src out.ciarenplugin # build an unsigned package
ciaren-plugin pack ./src out.ciarenplugin --compile # ship .pyc bytecode, not source
ciaren-plugin sign out.ciarenplugin --key <hex> --key-id acme-2026 --publisher acme
ciaren-plugin search databricks --index ./marketplace.json
ciaren-plugin index add out.ciarenplugin --index ./marketplace.json # author the catalog
ciaren-plugin manifest ./src # generate ciaren-plugin.json from the plugin's code
ciaren-plugin licenses # scan installed dependency licenses
ciaren-plugin licenses --flagged-only --fail-on-flagged # CI gate| Subcommand | Description |
|---|---|
list | List discovered plugins and load errors. Status is loaded, disabled, needs_permissions (pending approval) or needs_license. |
install | Verify and install a .ciarenplugin (or --dir source). --trusted requires a trusted signature; a tampered package is always refused. --force overwrites an existing install. |
uninstall | Remove an installed plugin and forget its state. |
verify | Report a package's signature/integrity outcome (exits non-zero if invalid). |
enable / disable | Toggle whether a plugin loads. enable marks the plugin approved but does not grant permissions, so a plugin that requests any stays needs_permissions until you grant them on the Plugins page. enable refuses an id that is not installed. Restart ciaren serve to apply. |
keygen / pack / sign | Publisher tooling to create and sign packages. pack --compile ships .pyc bytecode instead of source. |
manifest | Generate ciaren-plugin.json from a plugin's code (single source of truth). --entrypoint module:Class is needed the first time, --out sets the destination (- prints to stdout), --api-version targets an older plugin-contract minor, and --ciaren, --license and --trust set the compatibility specifier, license kind and trust tier. |
search | Search a local marketplace index file. |
index add | Add/replace a packed plugin's entry in a marketplace index (records digest + signing key id). --download-url overrides where clients fetch the artifact. |
license issue | Sign a license token for a user + plugin (publisher; needs the private key). Requires --key, --user, --plugin, --expires and --grace; --type (default pro) and --out are optional. |
license import | Cache a received license token locally so the plugin validates it. |
license status | Show a cached token's user/expiry; --key <issuer public hex> verifies the signature. |
licenses | Scan installed Python dependency licenses for redistribution review; --flagged-only / --fail-on-flagged for CI. |
See also
ciarenCLI Reference: the main command that runs the app- Installing & Managing Plugins
- Packaging & Distribution: the full publishing workflow
- Plugin Security & Permissions