PARCOURIR: Concevez et créez vos propres automatisations avec UiPath Studio Web, quel que soit votre niveau d’expertise. Commencez à automatiser dès maintenant !
Communications Mining est désormais inclus dans UiPath IXP. Consultez l’introduction du manuel utilisateur pour plus de détails.
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.
Les opérations de gestion des contextes nommés sont étendues sous la commande re config . Il s'agit notamment des sous-commandes pour créer, lire, mettre à jour et supprimer des contextes, ainsi que pour définir un contexte et des utilitaires nommés par défaut.
Utilisation
re config [OPTIONS] re config [OPTIONS] <SUBCOMMAND>
Sous-commandes
Commande
DESCRIPTION
re config add
Créer ou modifier un contexte nommé dans le fichier de configuration
re config current
Afficher le contexte actuellement utilisé
re config delete
Supprimer le contexte spécifié du fichier de configuration de réinférence
re config get-token
Imprime le jeton pour un contexte donné ou le contexte actuel s'il n'est pas spécifié
re config ls
Répertorier tous les contextes disponibles dans le fichier de configuration
re config use
Définissez le contexte par défaut à utiliser lorsque aucun n'est spécifié pour une commande
Pour voir les sous-commandes disponibles ou obtenir de l'aide par rapport à une sous-commande donnée
Créer ou modifier un contexte nommé dans le fichier de configuration
Utilisation
re config add [FLAGS] [OPTIONS]re config add [FLAGS] [OPTIONS]
Options
Nom
DESCRIPTION
-n, --name <name>
Le nom du contexte qui sera créé ou mis à jour
-e, --endpoint <endpoint>
Le point de terminaison du cluster Communications Mining qui sera utilisé pour ce contexte
-t, --token <token>
Le jeton d'API Communications Mining qui sera utilisé pour ce contexte
--proxy <proxy>
URL d'un proxy HTTP qui sera utilisée pour toutes les requêtes si spécifiée
-k, --accept-invalid-certificates
Indique s'il faut accepter les certificats TLS non valides. Vous ne devriez jamais avoir à l'utiliser, car vous exécutez localement un cluster Communications Mining pour le développement
Exemples
# Add a new context called `acme`. The cli will interactively ask to provide an API token.
re config add --name acme --endpoint https://acme.reinfer.io
# Using `--name` with a context that already exists will modify it instead.# For example, the next command changes the endpoint of the `acme` context.
re config add --name acme --endpoint https://acme-dev.reinfer.io
# Create a context specifying all information as arguments.
re config add -n staging -e https://localhost:9443 -k -t MYTOKEN
# If options are not provided, the cli will interactively prompt user to enter them
re config add
# Standard output:
* Context name: my-context
I A new context `my-context` will be created
* Enter API token [none]: SECRETTOKEN
W Be careful, API tokens are stored in cleartext in /home/marius/.config/reinfer/contexts.json
* Endpoint [https://reinfer.io/]: https://acme.reinfer.io
I New context `my-context` was created# Add a new context called `acme`. The cli will interactively ask to provide an API token.
re config add --name acme --endpoint https://acme.reinfer.io
# Using `--name` with a context that already exists will modify it instead.# For example, the next command changes the endpoint of the `acme` context.
re config add --name acme --endpoint https://acme-dev.reinfer.io
# Create a context specifying all information as arguments.
re config add -n staging -e https://localhost:9443 -k -t MYTOKEN
# If options are not provided, the cli will interactively prompt user to enter them
re config add
# Standard output:
* Context name: my-context
I A new context `my-context` will be created
* Enter API token [none]: SECRETTOKEN
W Be careful, API tokens are stored in cleartext in /home/marius/.config/reinfer/contexts.json
* Endpoint [https://reinfer.io/]: https://acme.reinfer.io
I New context `my-context` was created
Imprime le contexte actuel utilisé sur la sortie standard
Utilisation
re config currentre config current
Exemples
# Print the currently used context to stdout
re config current
# Save the current context to an environment variable
export REINFER_CONTEXT=`re config current`# Print the currently used context to stdout
re config current
# Save the current context to an environment variable
export REINFER_CONTEXT=`re config current`
re config get-token [name]re config get-token [name]
Exemples
# Print the API token for the current context to stdout
re config get-token
# Save the API token for the current context in an environment variable
export REINFER_TOKEN=`re config get-token`
# Same, but get the API token for a specific context (acme)
export REINFER_TOKEN=`re config get-token`# Print the API token for the current context to stdout
re config get-token
# Save the API token for the current context in an environment variable
export REINFER_TOKEN=`re config get-token`
# Same, but get the API token for a specific context (acme)
export REINFER_TOKEN=`re config get-token`