feat(cli): add inkreach-teable plugin commands

plugin list: list registered plugins (id/name/status/runtimeType)
plugin register: register by URL (--name --url --positions)
plugin config list: list base configs (pluginId/tableId/enabled/form/write)
plugin config enable/disable: enable/disable per table or base-wide

Added 5 client methods: getPlugins, registerPlugin, listPluginConfigs,
upsertPluginConfig for CRUD.
This commit is contained in:
yeuimu
2026-08-06 09:03:04 +08:00
parent 584b75ba69
commit 0891bda134
6 changed files with 294 additions and 0 deletions
+2
View File
@@ -6,6 +6,7 @@
*/
import { Command } from 'commander';
import { version } from '../package.json';
import { pluginCommand } from './commands/plugin';
import { authCommand } from './commands/auth';
import { workflowCommand, triggerCommand, actionCommand } from './commands/workflow';
import { baseResourceCommands } from './commands/resources';
@@ -31,6 +32,7 @@ program
// Command groups
program.addCommand(authCommand());
program.addCommand(pluginCommand());
for (const c of baseResourceCommands()) program.addCommand(c);
program.addCommand(workflowCommand());
program.addCommand(triggerCommand());