Skip to content

runAddEditorPluginCommand

runAddEditorPluginCommand(options): Promise<{ editorPluginSlug: string; projectDir: string; slot: string; }>

Defined in: wp-typia-project-tools/src/runtime/cli-add-workspace-assets.ts:1078

Add one document-level editor plugin scaffold to an official workspace project.

RunAddEditorPluginCommandOptions

Command options for the editor-plugin scaffold workflow.

Promise<{ editorPluginSlug: string; projectDir: string; slot: string; }>

A promise that resolves with the normalized editorPluginSlug, chosen slot, and owning projectDir after the scaffold files and inventory entry are written successfully.

When the command is run outside an official workspace, when the slug or slot is invalid, or when a conflicting file or inventory entry exists.