Owns the slot; serves it at /api/cli/commands. The contributions are read off the slot at boot; each call attributes them to the packages of the plugin host as it is then.
API
contributes: {
"HttpModule.routes": [
{
"id": "PluginCliCommandsProvider.routes",
"prefix": "/api/cli/commands",
"auth": "user",
"order": 66
}
]
}Code Half (@Bind)
@Bind("PluginCliCommandsProvider.routes") routes!: Hono<AppEnv>;
Endpoints (2)
GET
/api/cli/commands
PluginCliCommandsProvider.routes · cli-commands.ts:427POST
/api/cli/commands/run
PluginCliCommandsProvider.routes · cli-commands.ts:439