uipath-cli
latest
false
UiPath CLI 用户指南
- 概述
- 开始使用
- 概念
- 使用 UiPath CLI
- 操作指南
- CI/CD 方法
- 命令参考
- 迁移
- 参考与支持
重要 :
请注意,此内容已使用机器翻译进行了本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
“uip codedapp publish”的语法和选项,用于将“.nupkg”上传到 UiPath 并注册编码应用程序。
uip codedapp publish uploads a packaged .nupkg to UiPath and registers the coded app. It reads packages from --uipath-dir (default ./.uipath); pass --name (and optionally --version) to publish non-interactively, otherwise the tool prompts. --type controls whether the package registers as a Web app or an Action — when omitted, it is auto-detected from action-schema.json in the current directory (Action when present, Web otherwise), with an interactive confirm before switching to Action.
大纲
uip codedapp publish [options]
uip codedapp publish [options]
选项
| 标记 | 描述 |
|---|---|
-n, --name <name> | 包名称(非交互式)。 |
-v, --version <version> | 包版本(需要--name )。 |
-t, --type <type> | App type: Web or Action. No static default — auto-detected from action-schema.json (Action if present, Web otherwise); interactive sessions get a confirm before switching to Action. |
--personal-workspace | Publish into the current user's Personal Workspace feed instead of the tenant feed. |
--uipath-dir <dir> | 包含要发布的包的目录。默认值: ./.uipath 。 |
--base-url <url> | UiPath 基本 URL(身份验证覆盖)。 |
--org-id <id> | 组织 ID(身份验证覆盖)。 |
--org-name <name> | Organization name (auth override), used in place of --org-id when the ID is not provided. |
--tenant-id <id> | 租户 ID(身份验证覆盖)。 |
--tenant-name <name> | 租户名称(身份验证覆盖)。 |
--access-token <token> | 访问令牌(身份验证覆盖)。 |
示例
# Non-interactive publish of a specific version
uip codedapp publish --name "MyApp" --version "1.0.0"
# Register as an Action app instead of a Web app
uip codedapp publish --name "MyApprovalAction" --type Action
# Publish from a non-default packages directory
uip codedapp publish --name "MyApp" --uipath-dir ./packages
# Publish into the current user's Personal Workspace feed
uip codedapp publish --name "MyApp" --personal-workspace
# Non-interactive publish of a specific version
uip codedapp publish --name "MyApp" --version "1.0.0"
# Register as an Action app instead of a Web app
uip codedapp publish --name "MyApprovalAction" --type Action
# Publish from a non-default packages directory
uip codedapp publish --name "MyApp" --uipath-dir ./packages
# Publish into the current user's Personal Workspace feed
uip codedapp publish --name "MyApp" --personal-workspace
数据形状(--输出 json)
{
"Code": "PublishCompleted",
"Data": { "message": "Package published successfully." }
}
{
"Code": "PublishCompleted",
"Data": { "message": "Package published successfully." }
}
相关内容
- uip codedapp pack — 生成
.nupkg上传的publish。 - uip codedapp部署— 在应用程序发布后部署或升级应用程序。