mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-05 22:32:12 +00:00
20 lines
511 B
TypeScript
20 lines
511 B
TypeScript
import type { OpenClawPluginApi } from "openclaw/plugin-sdk/core";
|
|
|
|
export function registerMatrixCliMetadata(api: OpenClawPluginApi) {
|
|
api.registerCli(
|
|
async ({ program }) => {
|
|
const { registerMatrixCli } = await import("./cli.js");
|
|
registerMatrixCli({ program });
|
|
},
|
|
{
|
|
descriptors: [
|
|
{
|
|
name: "matrix",
|
|
description: "Manage Matrix accounts, verification, devices, and profile state",
|
|
hasSubcommands: true,
|
|
},
|
|
],
|
|
},
|
|
);
|
|
}
|