uipath-cli
latest
false
UiPath CLI 用户指南
- 概述
- 开始使用
- 概念
- 使用 UiPath CLI
- 操作指南
- CI/CD 方法
- 命令参考
- 迁移
- 参考与支持
重要 :
请注意,此内容已使用机器翻译进行了本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
Syntax and options for `uip codedapp init`, which creates a local coded app starter.
uip codedapp init scaffolds a local coded-app starter into <path>. It's a local, unauthenticated operation — no login or auth-override flags apply. By default, when run inside an existing solution, the new project is auto-registered in the surrounding solution's .uipx; pass --skip-solution-registration to opt out.
大纲
uip codedapp init <path> [options]
uip codedapp init <path> [options]
<path>— target directory for the starter coded app. Required.
选项
| 标记 | 描述 |
|---|---|
--force | Overwrite starter files in a non-empty directory. |
--template <template> | Starter template: form, dashboard, or inline-automation. Default: form. |
--type <type> | Coded app subtype. Omit for a regular coded app, or pass Action to scaffold a coded Action app. |
--skip-solution-registration | Do not auto-register this project in the surrounding solution. |
示例
# Create a form starter coded app
uip codedapp init ./expense-app --template form
# Overwrite starter files in a non-empty directory
uip codedapp init ./expense-app --force
# Skip auto-registering the project in a parent solution
uip codedapp init ./expense-app --skip-solution-registration
# Scaffold a coded Action app
uip codedapp init ./approve-invoice --type Action
# Create a form starter coded app
uip codedapp init ./expense-app --template form
# Overwrite starter files in a non-empty directory
uip codedapp init ./expense-app --force
# Skip auto-registering the project in a parent solution
uip codedapp init ./expense-app --skip-solution-registration
# Scaffold a coded Action app
uip codedapp init ./approve-invoice --type Action
数据形状(--输出 json)
{
"Code": "InitCompleted",
"Data": {
"path": "./expense-app",
"template": "form",
"SolutionRegistration": {
"Status": "NotInSolution",
"Message": "Project created in standalone mode; no parent .uipx solution found."
}
}
}
{
"Code": "InitCompleted",
"Data": {
"path": "./expense-app",
"template": "form",
"SolutionRegistration": {
"Status": "NotInSolution",
"Message": "Project created in standalone mode; no parent .uipx solution found."
}
}
}
SolutionRegistration.Status is NotInSolution when no parent solution is found, or OptedOut when --skip-solution-registration was passed — omitted entirely when the project registers successfully into a discovered parent solution.
相关内容
- uip codedapp pack — package the built app once it's ready.
- uip codedapp push — push the initialized project's source to Studio Web.