uipath-cli
latest
false
UiPath CLI ユーザー ガイド
- 概要
- はじめに
- 概念
- UiPath CLI を使用する
- 使用ガイド
- CI/CD レシピ
- コマンド リファレンス
- 概要
- 終了コード
- グローバル オプション
- uip codedagent
- uip coder
- uip context-grounding
- uip docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- add-test-data-entity
- テスト データのキューを追加
- 追加-テスト-データ-バリエーション
- 分析
- 開発
- プロジェクトを作成
- 差分
- アクティビティを検索
- GET-ANALYZER-RULES
- get-default-activity-xaml
- エラーを取得
- 手動テスト用のテスト ケースを取得
- 手動テストステップを取得
- get-library-object-repository
- get-object-repository
- get-versions
- Get-workflow-example
- indicate-application
- 要素を示す
- inspect-package
- install-data-fabric-entities
- パッケージのインストールまたは更新
- list-data-fabric-entities
- list-instances
- list-workflow-examples
- パッケージ化
- パブリッシュ
- remote
- 元に戻す
- run, debug & execution
- ファイル名を実行
- 検索テンプレート
- スタートスタジオ
- 実行を停止
- tm
- UIA
- uip tasks
- uip traces
- uip traces feedback
- 移行
- 参照とサポート
重要 :
このコンテンツは機械翻訳によって処理されています。
新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
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.
概要
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>]
引数
| 名前 | Required | 目的 |
|---|---|---|
<solutionPath> | ○ | Path to a solution directory (containing .uipx) or a .uis file. |
オプション
| 長押し | 値 (Value) | 既定 (Default) | 説明 |
|---|---|---|---|
--dry-run | フラグ | 無効 | Detect unused items but don't modify any project files. |
--skip-imports | フラグ | 無効 | Don't clean up now-unused references to removed items in the project's files. |
--nuget-sources-config-path | パス | — | NuGet ソース構成ファイルへのパスです。 |
--exclude-configured-sources | フラグ | 無効 | 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 | 分 | 10 | Minimum minutes before token expiration to trigger a refresh. |
例
# 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
データシェイプ(--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.
終了コード
共有コントラクト の終了コード を参照してください。
関連コマンド
uip solution restore— resolve NuGet dependencies (run beforepack, not related to cleanup).uip solution pack— package the solution after cleaning it up.
参照
- グローバルオプション と 終了コード — すべての動詞で共有されるコントラクト。