uipath-cli
latest
false
UiPath CLI 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
uip 编码应用程序初始化
“uip codedapp init”的语法和选项,用于创建本地编码应用程序入门版。
uip codedapp init 在 <path> 中构建本地编码应用程序入门版。这是未经身份验证的本地操作,不适用任何“登录”或“身份验证覆盖”标志。默认情况下,在现有解决方案中运行时,新项目会在周围解决方案的 .uipx 中自动注册;传递 --skip-solution-registration 以选择退出。
大纲
uip codedapp init <path> [options]
uip codedapp init <path> [options]
<path>— 入门者编码应用程序的目标目录。必需。
选项
| 标记 | 描述 |
|---|---|
--force | 覆盖非空目录中的入门指南文件。 |
--template <template> | 入门模板:form、dashboard 或 inline-automation。默认值:form。 |
--type <type> | 编码应用程序子类型。若为常规编码应用程序则可省略,若要构建编码操作应用程序,请传递 Action。 |
--skip-solution-registration | 不要在相关解决方案中自动注册此项目。 |
示例
# 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 为 ,当通过NotInSolutionOptedOut --skip-solution-registration找到 时, 会被完全省略 — 当项目成功注册到已发现的父解决方案中时,完全省略。
相关内容
- uip codedapp pack — 在构建的应用程序准备就绪后对其进行打包。
- uip codedapp push — 将已初始化项目的源代码推送到 Studio Web。