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 Maestro Flow Pack

Syntax und Optionen für „uip Maestro Flow Pack“, das ein Flow-Projektverzeichnis in eine „.nupkg“-Veröffentlichung für den Orchestrator verpackt.

uip maestro flow pack verpackt ein Flow-Projektverzeichnis in eine .nupkg -Datei, die bereit für die Veröffentlichung im Orchestrator ist.

Zusammenfassung​

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>]

Beachten Sie globale Optionen. Austrittscodes folgen dem Standardvertrag.

Argumente​

  • <projectPath> (required) — path to the Flow project directory. The directory must contain the .flow file named after the package (see Behavior).
  • <outputPath> (erforderlich) – Ausgabeverzeichnis, in das .nupkg geschrieben wird. Wird erstellt, wenn er nicht vorhanden ist.

Optionen​

  • -n, --name <name> – Paketname. Standardmäßig der Name des Projektordners.
  • -v, --version <version> – Paketversion. Die Standardeinstellung ist 1.0.0.

Paketmetadatenoptionen (gemeinsam für Paketbefehle genutzt)​

OptionBeschreibung
--author <author>Paketautor.
--description <text>Paketbeschreibung.
--repository-url <url>Quell-Repository-URL, im Paket zur Rückverfolgbarkeit aufgezeichnet.
--repository-commit <sha>Quell-Repository-Commit-Hash.
--repository-branch <branch>Verzweigung des Quell-Repositorys.
--repository-type <type>Typ des Quell-Repositorys. Standardmäßig auf git, wenn --repository-url festgelegt ist.
--release-notes <text>Versionshinweise für das Paket.
--project-url <url>URL der Automation Hub-Idee.

Verhalten​

  • 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.

Beispiele​

# 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

Datenform (--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.

Siehe auch​

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support(opens in new window)

Möchten Sie lernen? UiPath Academy(opens in new window)

Haben Sie Fragen? UiPath-Forum(opens in new window)

Auf dem neuesten Stand bleiben