UiPath Documentation
uipath-cli
latest
false
UiPath CLI ユーザー ガイド
重要 :
このコンテンツは機械翻訳によって処理されています。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

UIP Maestro フロー パック

「uip maestro flow pack」の構文とオプションです。このパッケージは、Orchestrator でパブリッシュするためにフロー プロジェクトのディレクトリを「.nupkg」にパッケージ化します。

uip maestro flow pack Flow プロジェクト ディレクトリを .nupkg ファイルにパッケージ化して、Orchestrator にパブリッシュできるようにします。

概要​

uip maestro flow pack <projectPath> <outputPath> [-n <name>] [-v <version>] [--author <author>] [--description <text>] [--repository-url <url>] [--repository-commit <sha>] [--repository-branch <branch>] [--repository-type <type>] [--release-notes <text>] [--project-url <url>]
uip maestro flow pack <projectPath> <outputPath> [-n <name>] [-v <version>] [--author <author>] [--description <text>] [--repository-url <url>] [--repository-commit <sha>] [--repository-branch <branch>] [--repository-type <type>] [--release-notes <text>] [--project-url <url>]

グローバルオプションを優先します。終了コードは 標準コントラクトに従います。

引数​

  • <projectPath> (required) — path to the Flow project directory. The directory must contain the .flow file named after the package (see Behavior).
  • <outputPath> (必須) — .nupkg が書き込まれる出力ディレクトリです。存在しない場合は作成されます。

オプション​

  • -n, --name <name> — パッケージ名。既定では、プロジェクト フォルダーの名前が使用されます。
  • -v, --version <version> — パッケージ バージョン。既定値は [ 1.0.0です。

パッケージメタデータオプション(パックコマンド間で共有)​

オプション説明
--author <author>パッケージ作成者
--description <text>パッケージの説明。
--repository-url <url>追跡性のためにパッケージに記録されたソース リポジトリの URL です。
--repository-commit <sha>ソース リポジトリのコミット ハッシュ。
--repository-branch <branch>ソース リポジトリ ブランチ。
--repository-type <type>ソース リポジトリの種類。--repository-urlが設定されている場合、既定でgitされます。
--release-notes <text>パッケージのリリース ノート
--project-url <url>Automation Hub のアイデアの URL

動作​

  • The command packs <name>.flow from the project directory, where <name> is the package name (--name, or the project folder name). Characters other than letters, numbers, _, and - are replaced with _ in the file name. The command fails when that file is missing.
  • The package name can contain only letters, numbers, dots (.), underscores (_), and hyphens (-).
  • Before packing, the command runs the same checks as uip maestro flow validate, including the designer's rules, without the --strict-bindings and --strict-expressions gates. If the .flow file has errors, the command refuses to pack and lists each error. Fix the errors in the designer, or run uip maestro flow validate <project-path> for the full list.
  • Packing happens in a temporary staging folder, so the source project is not modified.
# Pack with defaults (name = folder, version = 1.0.0)
uip maestro flow pack ./invoice-flow ./dist

# Pack with an explicit version
uip maestro flow pack ./invoice-flow ./dist --version 1.2.0
# Pack with defaults (name = folder, version = 1.0.0)
uip maestro flow pack ./invoice-flow ./dist

# Pack with an explicit version
uip maestro flow pack ./invoice-flow ./dist --version 1.2.0

データシェイプ(--output json)​

{
  "Code": "FlowPack",
  "Data": {
    "Package": "invoice-flow@1.2.0",
    "Output": "/workspace/dist/invoice-flow.flow.Flow.1.2.0.nupkg"
  }
}
{
  "Code": "FlowPack",
  "Data": {
    "Package": "invoice-flow@1.2.0",
    "Output": "/workspace/dist/invoice-flow.flow.Flow.1.2.0.nupkg"
  }
}

Package is <name>@<version>. Output is the path of the written .nupkg file.

On failure, the command exits with code 1 and returns Result: "Failure", Message: "Flow pack failed", and the reason in Instructions.

参照​

このページは役に立ちましたか?

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得