kevin plugin#
Packages, publishes, finds, and trusts plugins. See Third-party plugins and Publishing a plugin.
kevin plugin pack <dir>#
Creates a plugin package (.tar.gz) from the files in dir, and writes its manifest.json. If dir has a manifest.json, the flags replace its fields. If it has none, the flags must supply every field.
kevin plugin pack ./my-plugin -o my-plugin.tar.gz| Flag | Type | Default | Description |
|---|---|---|---|
--args | stringSlice | [] | default arguments for the entrypoint (overrides manifest.json) |
--author | string | - | plugin author (overrides manifest.json) |
--description | string | - | plugin description (overrides manifest.json) |
--entrypoint | string | - | entrypoint path, relative to dir (overrides manifest.json) |
--name | string | - | plugin name (overrides manifest.json) |
--output, -o | string | - | Required. output tar.gz path |
--version | string | - | plugin version (overrides manifest.json) |
kevin plugin push <tar.gz> <oci-ref>#
Uploads a plugin package to an OCI registry, with the credentials from docker login. If <tar.gz>.minisig or <tar.gz>.sigstore.json exists, push uploads it too. The registry keeps one signature for each package, so push only one of them.
kevin plugin push my-plugin.tar.gz ghcr.io/acme/plugin:v1kevin plugin trust#
Manages the signers that kevin trusts for plugin packages with signing set. Minisign keys are in ~/.kevin/trusted-keys/, and sigstore identities in ~/.kevin/trusted-identities/. These are separate from the machine trust store that kevin ca manages.
kevin plugin trust add <pubkey-file>#
Trusts a minisign public key.
kevin plugin trust list#
Lists trusted keys and identities, with their scheme.
kevin plugin trust remove <key-id>#
Removes a minisign key.
kevin plugin trust add-identity#
Trusts a sigstore identity: the certificate identity (an email, or a GitHub Actions workflow URI) and the OIDC issuer URL.
| Flag | Type | Default | Description |
|---|---|---|---|
--identity | string | - | Required. the trusted certificate identity (e.g. an email, or a GitHub Actions workflow-ref URI) |
--issuer | string | - | Required. the trusted OIDC issuer URL (e.g. https://token.actions.githubusercontent.com) |
kevin plugin trust remove-identity <identity> <issuer>#
Removes a sigstore identity.
kevin plugin index#
Manages indexes: git repositories that list plugins and their releases.
kevin plugin index add <git-url>#
Adds an index, clones it, and prints the number of plugins in it. Adding an index that is already configured does nothing.
| Flag | Type | Default | Description |
|---|---|---|---|
--as | string | - | alias for this source (default: derived from the URL) |
kevin plugin index list#
Lists indexes, with their aliases and URLs.
kevin plugin index remove <alias>#
Removes an index and its local copy.
kevin plugin index update#
Clones each index again, and each version_source repository that its plugins name. An index that fails does not stop the others. A plugin whose version_source fails, or whose version file has no valid signature, gets its own warning. Exits non-zero if anything failed.
kevin plugin index show <name-or-alias/name>#
Prints the metadata and versions of a plugin, newest first, and the plugins: entry for the latest version. The latest version is the highest version without a pre-release suffix (see Plugin index format). If the name is in more than one index, use <alias>/<name>.
| Flag | Type | Default | Description |
|---|---|---|---|
--version | string | - | show this exact version’s snippet instead of the plugin’s metadata and version list |
kevin plugin index install <name-or-alias/name>#
Trusts the signers that the plugin’s index entry declares for the version’s signing scheme, then adds the plugin’s plugins: entry to the environment file. If the index declares no signer for that scheme, install prints a warning and still adds the entry.
Fails if the environment file already declares the plugin, or is not a single CUE file without a package clause. In that case, copy the entry from show.
| Flag | Type | Default | Description |
|---|---|---|---|
--no-trust | bool | false | skip adding the signer to the local trust store |
--version | string | - | install this exact version instead of the latest |
kevin plugin search [query]#
Searches the names and summaries of plugins in every index. The search ignores case. With no query, lists every plugin. Each result shows <alias>/<name>, the summary, and the latest version.