UiPath Documentation
uipath-cli
latest
false
UiPath-CLI-Benutzerhandbuch
Wichtig :
Dieser Inhalt wurde maschinell übersetzt. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

uip rpa get-library-object-repository

Syntax and options for `uip rpa get-library-object-repository`, which reads the Object Repository out of one or more library .nupkg files.

uip rpa get-library-object-repository reads the Object Repository — applications, screens, and elements — out of one or more library .nupkg files, and returns the entries grouped by library. Packages that don't carry an Object Repository are omitted from the result. Use uip rpa get-object-repository to read the current project's own Object Repository instead.

Even though the .nupkg paths are self-contained, the verb still requires an open project: the Object Repository reader runs inside a hosted project context on both backends (Studio's project process and Helm's project assembly load context).

Zusammenfassung

uip rpa get-library-object-repository [--library-paths <path>]
uip rpa get-library-object-repository [--library-paths <path>]

Optionen

MarkierenBeschreibung
--library-paths <path>Absolute path to a library .nupkg file to read. Repeatable — pass the flag multiple times for multiple libraries, or a single comma-separated value (e.g. --library-paths "C:\libs\Acme.UiLib.1.2.0.nupkg,C:\libs\Acme.Other.1.0.0.nupkg"). At least one path is required; the command fails with success: false if none is provided.

Für die vollständige Optionsliste zu Ihrer installierten Toolversion führen Sie Folgendes aus:

uip rpa get-library-object-repository --help
uip rpa get-library-object-repository --help

Beispiele

# Read one library's Object Repository
uip rpa get-library-object-repository --library-paths "C:\libs\Acme.UiLib.1.2.0.nupkg"

# Read multiple libraries in one call — repeated flag
uip rpa get-library-object-repository --library-paths "C:\libs\Acme.UiLib.1.2.0.nupkg" --library-paths "C:\libs\Acme.Other.1.0.0.nupkg"

# Read multiple libraries — comma-separated in one occurrence
uip rpa get-library-object-repository --library-paths "C:\libs\Acme.UiLib.1.2.0.nupkg,C:\libs\Acme.Other.1.0.0.nupkg"
# Read one library's Object Repository
uip rpa get-library-object-repository --library-paths "C:\libs\Acme.UiLib.1.2.0.nupkg"

# Read multiple libraries in one call — repeated flag
uip rpa get-library-object-repository --library-paths "C:\libs\Acme.UiLib.1.2.0.nupkg" --library-paths "C:\libs\Acme.Other.1.0.0.nupkg"

# Read multiple libraries — comma-separated in one occurrence
uip rpa get-library-object-repository --library-paths "C:\libs\Acme.UiLib.1.2.0.nupkg,C:\libs\Acme.Other.1.0.0.nupkg"

Datenform (--output json)

The command returns the Object Repository entries grouped by library, exactly as objectRepository.getLibraryObjects() produces them. Shape is otherwise unspecified and may evolve with the Object Repository feature itself; inspect real output rather than relying on a fixed schema.

On failure — no --library-paths provided, or an unreadable package — the command reports:

{
  "success": false,
  "errorMessage": "<reason>"
}
{
  "success": false,
  "errorMessage": "<reason>"
}

"At least one library .nupkg path must be provided in 'libraryPaths'." is the exact message when the flag is omitted entirely.

Siehe auch

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben