uipath-cli
latest
false
UiPath-CLI-Benutzerhandbuch
- Überblick
- Erste Schritte
- Konzepte
- Verwenden der UiPath CLI
- Anleitungen
- CI/CD-Rezepte
- Befehlsreferenz
- Überblick
- Exitcodes
- Globale Optionen
- UIP-codierter Agent
- uip coder
- uip context-grounding
- UIP-Dokumentation
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- Add-Test-Data-Entität
- Add-Test-Data-Queue
- Add-Test-Data-Variation
- Analysieren
- Erstellen
- Ein Projekt erstellen
- Diff
- Suchaktivitäten
- Get-Analyse-Regeln
- get-standard-aktivität-xaml
- Fehler abrufen
- Manuelle-Testfälle erhalten
- Manuelle-Testschritte erhalten
- get-library-object-repository
- get-object-repository
- Get-Versionen
- Beispiel für einen Workflow abrufen
- Anwendung anzeigen
- Anzeigeelement
- Inspektionspaket
- install-data-fabric-entities
- Pakete installieren oder aktualisieren
- list-data-fabric-entities
- list-instances
- Beispiele für Listenworkflows
- Packen
- Veröffentlichen
- remote
- restore
- run, debug & execution
- Ausführungsdatei installieren
- Suchvorlagen
- Studio starten
- Ausführung anhalten
- tm
- UIA
- uip tasks
- UIP-Ablaufverfolgungen
- uip traces feedback
- Migration
- Referenz und Support
Wichtig :
Dieser Inhalt wurde maschinell übersetzt.
Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.
Syntax and options for `uip solution cleanup`, which removes unused items from every project in a UiPath solution.
uip solution cleanup removes unused items (activities, dependencies) from every project in a solution. For a solution directory, project sources are modified in place; pass --dry-run to only detect unused items without changing anything.
Zusammenfassung
uip solution cleanup <solutionPath> [--dry-run] [--skip-imports] [--nuget-sources-config-path <path>] [--exclude-configured-sources] [--feed-folder <name>] [--login-validity <minutes>]
uip solution cleanup <solutionPath> [--dry-run] [--skip-imports] [--nuget-sources-config-path <path>] [--exclude-configured-sources] [--feed-folder <name>] [--login-validity <minutes>]
Argumente
| Name | Erforderlich | Zweck |
|---|---|---|
<solutionPath> | ja | Path to a solution directory (containing .uipx) or a .uis file. |
Optionen
| Long | Wert | Standard | Beschreibung |
|---|---|---|---|
--dry-run | Markieren | aus | Detect unused items but don't modify any project files. |
--skip-imports | Markieren | aus | Don't clean up now-unused references to removed items in the project's files. |
--nuget-sources-config-path | Pfad | – | Pfad zu einer Konfigurationsdatei für NuGet-Quellen. |
--exclude-configured-sources | Markieren | aus | Resolve project dependencies only from tenant feeds and --nuget-sources-config-path. Drops the built-in UiPath and nuget.org feeds — a dependency not on those feeds fails to restore. |
--feed-folder | name or path | – | Resolve project dependencies from this Orchestrator folder's library feed instead of every tenant feed. |
--login-validity | Minuten | 10 | Minimum minutes before token expiration to trigger a refresh. |
Beispiele
# Remove unused items from every project, modifying files in place
uip solution cleanup ./my-solution
# Detect without modifying anything
uip solution cleanup ./my-solution --dry-run
# Remove unused items from every project, modifying files in place
uip solution cleanup ./my-solution
# Detect without modifying anything
uip solution cleanup ./my-solution --dry-run
Datenform (--output json)
{
"Code": "SolutionCleanup",
"Data": {
"DryRun": false,
"ChangedFilesByProject": {
"project-design-id": ["project.json", "Main.xaml"]
},
"CleanupByProject": {
"project-design-id": {
"unusedItems": ["UiPath.Stale.Activities"],
"cleanedFiles": ["Main.xaml"]
}
}
}
}
{
"Code": "SolutionCleanup",
"Data": {
"DryRun": false,
"ChangedFilesByProject": {
"project-design-id": ["project.json", "Main.xaml"]
},
"CleanupByProject": {
"project-design-id": {
"unusedItems": ["UiPath.Stale.Activities"],
"cleanedFiles": ["Main.xaml"]
}
}
}
}
With --dry-run, ChangedFilesByProject is empty and each project's cleanedFiles stays empty, since nothing was written.
Exitcodes
Siehe Austrittscodes für den gemeinsamen Vertrag.
Zugehörige Befehle
uip solution restore— resolve NuGet dependencies (run beforepack, not related to cleanup).uip solution pack— package the solution after cleaning it up.
Siehe auch
- Globale Optionen und Exit-Codes – Verträge, die von jedem Verb geteilt werden.