uipath-cli
latest
false
UiPath CLI 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
uip rpa 旧版包
“uip rpa-legacy pack”的语法和选项,可在 Windows 上使用旧版“uipcli”打包程序打包 RPA 项目。
uip rpa-legacy pack直接使用旧版uipcli打包程序将 RPA 项目打包为可部署的.nupkg 。对于不依赖于仅旧版功能的新管道,最好选择跨平台uip rpa pack ,它接受相同的项目,并在 Linux、macOS 或 Windows 上生成等效的 NuGet 包。
仅限 Windows — 请参阅概述警告。
大纲
uip rpa-legacy pack <project-path> -o <output-dir> [options]
uip rpa-legacy pack <project-path> -o <output-dir> [options]
<project-path>(必填) — RPA 项目的路径或project.json。
选项
| 标记 | 描述 |
|---|---|
-o, --output <path> | 生成的.nupkg的输出目录。 |
-v, --version <version> | 包版本。 |
--auto-version | 自动生成包版本。 |
--output-type <type> | 强制输出类型( Process 、 Library 、 Tests和Objects )。 |
--split-output | 将输出拆分为运行时库和设计库。 |
--repository-url <url> | 源存储库 URL。 |
--repository-commit <sha> | 源存储库提交 SHA。 |
--repository-branch <branch> | 源存储库分支。 |
--repository-type <type> | 源存储库类型。 |
--project-url <url> | Automation Hub 项目 URL。 |
--release-notes <text> | 参阅包的发行说明。 |
--timeout <seconds> | 操作超时(秒)。 |
示例
# Pack a project to ./out with an explicit version
uip rpa-legacy pack ./MyProject -o ./out --version 1.4.0
# Pack a library with auto-versioning and split runtime/design output
uip rpa-legacy pack ./MyLibrary -o ./out \
--output-type Library --auto-version --split-output
# Pack with VCS metadata embedded for traceability
uip rpa-legacy pack ./MyProject -o ./out \
--version 1.4.0 \
--repository-url https://github.com/acme/automations \
--repository-branch main \
--repository-commit a1b2c3d4e5f6 \
--release-notes "Adds invoice routing rules."
# Pack a project to ./out with an explicit version
uip rpa-legacy pack ./MyProject -o ./out --version 1.4.0
# Pack a library with auto-versioning and split runtime/design output
uip rpa-legacy pack ./MyLibrary -o ./out \
--output-type Library --auto-version --split-output
# Pack with VCS metadata embedded for traceability
uip rpa-legacy pack ./MyProject -o ./out \
--version 1.4.0 \
--repository-url https://github.com/acme/automations \
--repository-branch main \
--repository-commit a1b2c3d4e5f6 \
--release-notes "Adds invoice routing rules."
相关内容
uip rpa-legacy validate— 打包前验证。uip rpa-legacy debug— 打包前调试工作流。uip rpa pack— 跨平台打包程序;更喜欢将其用于非旧版项目。uip rpa-legacy— 工具概述。