UiPath Documentation
uipath-cli
latest
false
UiPath CLI 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

uip api 工作流

用于使用“uip api-workflow”工具在本地运行 UiPath API 工作流并打包这些工作流以供发布的命令。

uip api-workflow在本地运行 UiPath API 工作流并将其打包以供发布。API 工作流是基于无服务器工作流的执行模型,用于不作为 RPA 流程交付的编排代码。run动词在您的计算机上执行工作流 JSON — 适用于发布前的本地迭代 — 而build和pack会生成准备上传的.nupkg 。使用uip tools install api-workflow安装,或调用uip api-workflow …并让自动安装运行。有关管理工具安装的命令,请参阅工具(插件)和UIP 工具。api-workflow是命令前缀;基础包为@uipath/api-workflow-tool 。

命令​

每个uip api-workflow动词都有自己的参考页面。有关已安装工具版本上的实时参数列表,请运行uip api-workflow <verb> --help 。

动词描述
init使用样板文件构建一个新的 API 工作流项目。
pack构建 API 工作流项目并将其打包到.nupkg中。
build编译 API 工作流项目而不打包该项目。
run使用捆绑的 Serverless 工作流执行程序在本地执行 API 工作流 JSON 文件。
validate验证 API 工作流 JSON 文件的结构。
bindings从工作流生成 bindings_v2.json 文件,适用于在 Studio Web 外部编写的解决方案。
registry查找连接器/DAP 活动,并发出可粘贴的活动存根。

大纲​

uip api-workflow init          <name> [options]
uip api-workflow pack          <projectPath> <destinationPath> [options]
uip api-workflow build         <projectPath>
uip api-workflow run           <file> [options]
uip api-workflow validate      <file> [options]
uip api-workflow bindings sync --workflow <path>
uip api-workflow registry resolve <keyword> [options]
uip api-workflow registry stub    <activity-type-id> [options]
uip api-workflow init          <name> [options]
uip api-workflow pack          <projectPath> <destinationPath> [options]
uip api-workflow build         <projectPath>
uip api-workflow run           <file> [options]
uip api-workflow validate      <file> [options]
uip api-workflow bindings sync --workflow <path>
uip api-workflow registry resolve <keyword> [options]
uip api-workflow registry stub    <activity-type-id> [options]

所有uip api-workflow动词都遵循全局选项( --output 、 --output-filter 、 --log-level 、 --log-file )。标准退出代码适用。

另请参阅​

  • 工具(插件) — 为@uipath/api-workflow-tool安装模型
  • uip login — 除非您传递--no-auth ,否则将加载run的凭据。
  • 配置— run加载程序的凭据优先级。
  • 命令​
  • 大纲​
  • 另请参阅​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新