UiPath Documentation
uipath-cli
latest
false
Important :
Ce contenu a été traduit à l'aide d'une traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Guide de l'utilisateur de UiPath CLI

uip vss génération

uip vss generate produit un fichier TypeScript vss.gen.ts à partir d'un schéma Data Fabric (data_fabric_schema.json). Elle résout les ensembles de choix en unités TypeScript et génère des types d'entités que le code de solution peut importer. Exécutez-le après avoir modifié le schéma d’entité ou après avoir extrait une nouvelle exportation de schéma à partir de uip df.

Synthèse

uip vss generate [options]
uip vss generate [options]

Options

DrapeauDescription
-s, --schema <path>Chemin d’accès au schéma JSON du schéma Data Fabric. La valeur par défaut est <target-path>/data_fabric_schema.json.
-t, --target-path <targetPath>Répertoire pour écrire vss.gen.ts. La valeur par défaut est le répertoire actuel.

Exemples

# Generate using the schema at <target>/data_fabric_schema.json
uip vss generate

# Custom schema path and target directory
uip vss generate \
    --schema ./schemas/data_fabric_schema.json \
    --target-path ./src/generated
# Generate using the schema at <target>/data_fabric_schema.json
uip vss generate

# Custom schema path and target directory
uip vss generate \
    --schema ./schemas/data_fabric_schema.json \
    --target-path ./src/generated

Format des données (--sortie json)

{
  "Code": "TypesGenerated",
  "Data": {
    "Path": "/Users/alice/my-app/vss.gen.ts"
  }
}
{
  "Code": "TypesGenerated",
  "Data": {
    "Path": "/Users/alice/my-app/vss.gen.ts"
  }
}

Voir également

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour