Skip to main content

Usage

Subcommands


install

Install a plugin from the registry or a local directory.

Flags

By default, plugins install locally to ./plugins/ in the project directory. Use --global to install to ~/.dokrypt/plugins/ for use across all projects.

Examples


uninstall

Remove an installed plugin.

list

List all installed plugins with details.

Example Output


Search for plugins in the registry and locally.
Searches both the remote registry and locally installed plugins by name, description, and author.

Example Output


update

Update a plugin to a new version.

Flags

Preserves the plugin’s install scope (local or global).

Examples


create

Scaffold a new plugin directory with boilerplate.

Created Files

plugin.yaml format

Plugin Types

Plugin Hooks

Plugins can subscribe to lifecycle hooks:

Examples


publish

Publish a plugin to the registry.
Requires a valid plugin.yaml in the current directory with: name, version, description, type (must be container or binary). Requires DOKRYPT_REGISTRY_TOKEN environment variable.

Examples