Appearance
hm05 CLI / callProject
Function: callProject()
ts
function callProject(info, body): Promise<ProjectResult>;Parameters
| Parameter | Type |
|---|---|
info | { token: string; url: string; } |
info.token | string |
info.url | string |
body | { action: "preview" | "publish" | "build" | "open"; folder: string; } |
body.action | "preview" | "publish" | "build" | "open" |
body.folder | string |
Returns
Promise<ProjectResult>