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

uip solution list

Syntax and options for `uip solution list`, which lists Studio Web solutions or scans a directory for local ones.

备注:

uip solution list is a Preview command — it may change without a MAJOR version bump. See Versioning.

uip solution list has two modes. By default, it lists the Studio Web solutions you own or that are shared with you — the SolutionIds it returns are what uip solution download and uip solution delete take. With --local, it instead scans a directory tree for local solutions (.uipx manifests) and flags stale or ambiguous ones.

大纲

uip solution list [-l <n>] [--offset <n>] [--name <pattern>] [--sort-by <column>] [--sort-order <Ascending|Descending>]
uip solution list --local [directory] [--check-cloud]
uip solution list [-l <n>] [--offset <n>] [--name <pattern>] [--sort-by <column>] [--sort-order <Ascending|Descending>]
uip solution list --local [directory] [--check-cloud]

Cloud mode (default)

Lists Studio Web solutions. Requires an authenticated session with an organization name resolved.

选项

默认描述
-l--limitnumber (1–100)50Maximum solutions to return.
--offset数字0Number of solutions to skip.
--nametextServer-side keyword filter on solution name.
--sort-bycolumnserver defaultColumn to sort by.
--sort-orderAscending | DescendingSort direction.
--login-validity分钟10Minimum minutes before token expiration to trigger a refresh.

The cloud-only options above are rejected with an error if passed together with --local or --check-cloud.

示例

uip solution list --limit 2
uip solution list --limit 2

数据形状(--输出 json)

{
  "Code": "SolutionsList",
  "Data": [
    {
      "Id": "a1b2c3d4-0000-0000-0000-000000000001",
      "Name": "Examples",
      "LastModifiedTime": "2025-04-15T10:30:00Z",
      "PublishStatus": "draft",
      "Projects": []
    }
  ]
}
{
  "Code": "SolutionsList",
  "Data": [
    {
      "Id": "a1b2c3d4-0000-0000-0000-000000000001",
      "Name": "Examples",
      "LastModifiedTime": "2025-04-15T10:30:00Z",
      "PublishStatus": "draft",
      "Projects": []
    }
  ]
}

Local mode (--local)

Scans a directory tree for local solutions by finding .uipx manifests, instead of calling Studio Web.

选项

默认描述
--local [directory]路径当前目录Scan this directory tree for .uipx manifests. Bare --local scans the current directory.
--check-cloud标记关闭Also resolve each local solution's SolutionId against Studio Web and report OK / NotFound. Implies --local and requires authentication.

示例

uip solution list --local ./workspace

uip solution list --local ./workspace --check-cloud
uip solution list --local ./workspace

uip solution list --local ./workspace --check-cloud

数据形状(--输出 json)

{
  "Code": "LocalSolutionsList",
  "Data": [
    {
      "Path": "Examples",
      "Name": "Examples",
      "UipxFile": "Examples.uipx",
      "SolutionId": "a1b2c3d4-0000-0000-0000-000000000001",
      "ProjectCount": 2,
      "Warnings": []
    }
  ]
}
{
  "Code": "LocalSolutionsList",
  "Data": [
    {
      "Path": "Examples",
      "Name": "Examples",
      "UipxFile": "Examples.uipx",
      "SolutionId": "a1b2c3d4-0000-0000-0000-000000000001",
      "ProjectCount": 2,
      "Warnings": []
    }
  ]
}

With --check-cloud, each row adds a CloudStatus field (OK or NotFound). If the scan couldn't enter some subtree, the response's Instructions field names which ones were skipped — the list may be incomplete in that case.

退出代码

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

另请参阅

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新