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

uip solution download

Syntax and options for `uip solution download`, which downloads and extracts a Studio Web solution.

uip solution download downloads (exports) a solution from Studio Web as a .uis archive. Pass --extract to also unpack it into a directory.

大纲

uip solution download <solution-id> [-d <destination>] [-n <name>] [--extract]
uip solution download <solution-id> [-d <destination>] [-n <name>] [--extract]

参数

名称必填用途
<solution-id>Studio Web solution UUID. Find it with uip solution list.

选项

默认描述
-d--destinationdir当前目录Destination directory for the downloaded file.
-n--nametextthe solution IDOutput filename, without extension. Existing files are overwritten; --extract uses this name for the extracted directory too. Must be a plain filename — no path separators or ...
--extract标记关闭Extract the downloaded .uis archive into a directory, and write AGENTS.md / CLAUDE.md briefing files there if the archive didn't already carry them.

示例

uip solution download a1b2c3d4-0000-0000-0000-000000000001 \
  --destination ./downloads --extract
uip solution download a1b2c3d4-0000-0000-0000-000000000001 \
  --destination ./downloads --extract

数据形状(--输出 json)

{
  "Code": "SolutionDownload",
  "Data": {
    "Status": "Solution exported successfully",
    "SolutionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "Output": "./downloads/a1b2c3d4-0000-0000-0000-000000000001.uis",
    "ExtractedTo": "./downloads/a1b2c3d4-0000-0000-0000-000000000001",
    "BriefingFiles": [
      "./downloads/a1b2c3d4-0000-0000-0000-000000000001/AGENTS.md",
      "./downloads/a1b2c3d4-0000-0000-0000-000000000001/CLAUDE.md"
    ]
  }
}
{
  "Code": "SolutionDownload",
  "Data": {
    "Status": "Solution exported successfully",
    "SolutionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "Output": "./downloads/a1b2c3d4-0000-0000-0000-000000000001.uis",
    "ExtractedTo": "./downloads/a1b2c3d4-0000-0000-0000-000000000001",
    "BriefingFiles": [
      "./downloads/a1b2c3d4-0000-0000-0000-000000000001/AGENTS.md",
      "./downloads/a1b2c3d4-0000-0000-0000-000000000001/CLAUDE.md"
    ]
  }
}

ExtractedTo and BriefingFiles are only present when --extract is passed. BriefingFiles lists only the files this command wrote — if the archive already had AGENTS.md/CLAUDE.md, the field is omitted.

退出代码

请参阅共享合同的退出代码

另请参阅

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新