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.
Parameters
Section titled “Parameters”options
Section titled “options”RunAddEditorPluginCommandOptions
Command options for the editor-plugin scaffold workflow.
Returns
Section titled “Returns”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.
Throws
Section titled “Throws”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.