- 概要
- はじめに
- 概念
- UiPath CLI を使用する
- 使用ガイド
- CI/CD レシピ
- コマンド リファレンス
- 概要
- 終了コード
- グローバル オプション
- uip codedagent
- UIP コーダー
- UIP のコンテキスト グラウンディング
- uip docsai
- uip 関数
- UIP ガードレール
- uip llm - 構成
- uip llm-gateway
- UIP Maestro のオーサリング
- UIP Maestro レジストリ
- uip model-hub
- uip ont
- アクティビティ検索
- アクティビティ get-default-xaml
- 分析
- アナライザー - ルールのリスト
- 開発
- クリーンアップ
- data-fabric-entities をインストールする
- data-fabric-entities リスト
- ファイル差分
- get-library-object-repository
- オブジェクト リポジトリを取得
- Init
- インスタンス リスト
- パッケージ化
- パッケージ検査
- パッケージのインストール
- パッケージ バージョン
- パブリッシュ
- リモート
- 元に戻す
- 実行、デバッグ、実行
- 設定
- Studio での起動
- テンプレートの検索
- test-data add-entity
- test-data add-queue
- test-data add-variation
- TM
- UIA
- 検証
- workflow-examples get
- ワークフロー - 例のリスト
- uip resources
- UIP タスク
- uip traces
- UIP トレースのフィードバック
- 移行
- 参照とサポート
uip codedapp init
ローカルのコード化されたアプリ スターターを作成する「uip codedapp init」の構文とオプションです。
uip codedapp init ローカルのコード化されたアプリのスターターを <path>にスキャフォールディングします。これはローカルの非認証操作であり、ログイン フラグや認証の上書きフラグは適用されません。既定では、既存のソリューション内で実行すると、新しいプロジェクトは周囲のソリューションの .uipxに自動登録されます。オプトアウト --skip-solution-registration 渡します。
When run outside a solution, init creates a solution for the app: ./expense-app becomes ./expense-appSolution/expense-app/, registered in expense-appSolution.uipx. The output reports the new solution under Data.AutoCreatedSolution, and Data.path is the folder the project ended up in. With --skip-solution-registration, the app stays a standalone project at the path you passed, for uip codedapp push and uip codedapp pack.
A non-empty target, such as an existing app with --force, is never moved. It stays where it is.
A new starter includes a commented .env.example file for the UIPATH_APPS_* variables the app reads. Refer to Environment variables.
概要
uip codedapp init <path> [options]
uip codedapp init <path> [options]
<path>— スターターのコード化されたアプリのターゲット ディレクトリです。必須。
オプション
| フラグ | 説明 |
|---|---|
--force | 空でないディレクトリにあるスターター ファイルを上書きします。 |
--template <template> | スターター テンプレート: form、 dashboard、または inline-automation。既定値は formです。 |
--type <type> | コード化されたアプリのサブタイプ。通常のコード化されたアプリの場合は を省略するか、コード化されたアクション アプリを素早く作成するための Action 渡します。 |
--skip-solution-registration | Do not register this project in the surrounding solution, and do not create a solution when there is none. |
例
# Create a form starter coded app; outside a solution, it lands in ./expense-appSolution/expense-app
uip codedapp init ./expense-app --template form
# Overwrite starter files in a non-empty directory
uip codedapp init ./expense-app --force
# Create a standalone coded app, with no solution around it
uip codedapp init ./expense-app --skip-solution-registration
# Scaffold a coded Action app
uip codedapp init ./approve-invoice --type Action
# Create a form starter coded app; outside a solution, it lands in ./expense-appSolution/expense-app
uip codedapp init ./expense-app --template form
# Overwrite starter files in a non-empty directory
uip codedapp init ./expense-app --force
# Create a standalone coded app, with no solution around it
uip codedapp init ./expense-app --skip-solution-registration
# Scaffold a coded Action app
uip codedapp init ./approve-invoice --type Action
データシェイプ(--output json)
Run outside a solution:
{
"Code": "InitCompleted",
"Data": {
"path": "/work/expense-appSolution/expense-app",
"template": "form",
"SolutionRegistration": {
"Status": "Registered",
"Message": "Project registered in parent solution."
},
"AutoCreatedSolution": {
"Name": "expense-appSolution",
"Path": "/work/expense-appSolution",
"SolutionFile": "/work/expense-appSolution/expense-appSolution.uipx"
}
}
}
{
"Code": "InitCompleted",
"Data": {
"path": "/work/expense-appSolution/expense-app",
"template": "form",
"SolutionRegistration": {
"Status": "Registered",
"Message": "Project registered in parent solution."
},
"AutoCreatedSolution": {
"Name": "expense-appSolution",
"Path": "/work/expense-appSolution",
"SolutionFile": "/work/expense-appSolution/expense-appSolution.uipx"
}
}
}
AutoCreatedSolution is present only when init created the solution. SolutionRegistration.Status is one of:
Status | 意味 |
|---|---|
Registered | The project is registered in the surrounding solution, or in the one init created. |
AlreadyRegistered | The solution already lists the project. |
OptedOut | --skip-solution-registration was passed. |
NotInSolution | No solution surrounds the project and none was created, which is the case for a non-empty target outside a solution. |
Failed OR Skipped | The project is written, and the registration did not complete. Instructions says why. |
関連
- UIP CodedApp Pack — 準備ができたら、構築されたアプリをパッケージ化します。
- uip codedapp push — 初期化されたプロジェクトのソースを Studio Web にプッシュします。