runAddAdminViewCommand
runAddAdminViewCommand(
options):Promise<{adminViewSlug:string;projectDir:string;source?:string; }>
Defined in: wp-typia-project-tools/src/runtime/cli-add-workspace-admin-view.ts:1009
Add one DataViews-powered WordPress admin screen scaffold to an official workspace project.
Parameters
Section titled “Parameters”options
Section titled “options”RunAddAdminViewCommandOptions
Command options for the admin-view scaffold workflow.
Returns
Section titled “Returns”Promise<{ adminViewSlug: string; projectDir: string; source?: string; }>
A promise that resolves with the normalized adminViewSlug, optional
source, and owning projectDir after scaffold files and inventory entries
are written successfully.
Throws
Section titled “Throws”When the command is run outside an official workspace, when the slug/source is invalid, or when a conflicting file or inventory entry exists.