Communications Mining
Más reciente
False
Imagen de fondo del banner
Guía para desarrolladores de Communications Mining
Última actualización 17 de may. de 2024

Información general

La interfaz de línea de comandos de Communications Mining, re, es una herramienta unificada que proporciona una interfaz coherente para interactuar con todas las partes de Communications Mining desde un terminal.
re simplifica la gestión de los recursos de Communications Mining, como fuentes y conjuntos de datos, así como la importación o exportación de datos de comunicaciones. Además, re mantiene múltiples contextos, lo que facilita el cambio entre múltiples tokens de autenticación para diferentes usuarios, cuentas de servicio o puntos finales de Communications Mining.

La CLI de Communications Mining es de código abierto y está desarrollada en GitHub.

Características

  • Crear, obtener, actualizar y eliminar operaciones para todos los diferentes recursos de Communications Mining. Esto incluye fuentes, conjuntos de datos, comentarios, depósitos, transmisiones y más.
  • Gestión de contexto para múltiples tokens de API y puntos finales de Communications Mining.
  • Cargue fácilmente nuevos mensajes a una fuente.
  • Descarga mensajes de un conjunto de fuentes y conjuntos de datos junto con las anotaciones aplicadas por humanos. Útil para copias de seguridad, migrar datos o aplicar algunas transformaciones a los datos.
  • Autocompletado básico de shell para zsh y bash, salida de terminal coloreada, barras de progreso y más

Instalación

Binario

Se proporcionan binarios vinculados estáticamente sin dependencias para todas las plataformas principales

Desde el origen

Para compilar desde el origen, necesitas tener instalada una versión reciente de la cadena de herramientas de Rust . Para instalar usando cargo.
cargo install --locked reinfer-clicargo install --locked reinfer-cli
Asegúrate de tener el directorio cargo bin en tu ruta (normalmente ~/.cargo/bin).
Alternativamente, siempre puedes clonar el repositorio y construirlo con cargo build.

Ayuda

La CLI de Communications Mining se envía con una gran cantidad de documentación de comandos a la que se puede acceder con el --help o -h .
$ re --help
$ re <command> --help
$ re <command> <subcommand> --help$ re --help
$ re <command> --help
$ re <command> <subcommand> --help
Le recomendamos que lea la documentación incluida, ya que es extensa y está siempre actualizada.
$ re --help

reinfer-cli 0.11.0
re is the command line interface to reinfer clusters

USAGE:
    re [FLAGS] [OPTIONS] <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information
    -v, --verbose    Enable more verbose logging

OPTIONS:
    -k, --accept-invalid-certificates <accept-invalid-certificates>
        --config-file <config>
            Path to the configuration file. Typically defaults to ~/.config/reinfer on Linux

    -c, --context <context>
            Specify what context to use. Overrides the current context, if any

        --endpoint <endpoint>
            Specify what endpoint to use. Overrides the one from the current context, if any

    -o, --output <output>
            Output format. One of: json, table [default: table]

        --proxy <proxy>
            URL for an HTTP proxy that will be used for all requests if specified

        --token <token>
            Specify what API token to use. Overrides the one from the current context, if any


SUBCOMMANDS:
    completion    Output shell completion code for the specified shell (bash or zsh)
    config        Manage reinfer authentication and endpoint contexts
    create        Create new resources
    delete        Delete a resource
    get           Display resources and export comments to the local filesystem
    help          Prints this message or the help of the given subcommand(s)
    update        Update existing resources$ re --help

reinfer-cli 0.11.0
re is the command line interface to reinfer clusters

USAGE:
    re [FLAGS] [OPTIONS] <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information
    -v, --verbose    Enable more verbose logging

OPTIONS:
    -k, --accept-invalid-certificates <accept-invalid-certificates>
        --config-file <config>
            Path to the configuration file. Typically defaults to ~/.config/reinfer on Linux

    -c, --context <context>
            Specify what context to use. Overrides the current context, if any

        --endpoint <endpoint>
            Specify what endpoint to use. Overrides the one from the current context, if any

    -o, --output <output>
            Output format. One of: json, table [default: table]

        --proxy <proxy>
            URL for an HTTP proxy that will be used for all requests if specified

        --token <token>
            Specify what API token to use. Overrides the one from the current context, if any


SUBCOMMANDS:
    completion    Output shell completion code for the specified shell (bash or zsh)
    config        Manage reinfer authentication and endpoint contexts
    create        Create new resources
    delete        Delete a resource
    get           Display resources and export comments to the local filesystem
    help          Prints this message or the help of the given subcommand(s)
    update        Update existing resources

Solución de problemas

Para solucionar problemas con la CLI de Communications Mining, lo siguiente puede ser útil

  • Asegúrate de que esté instalada la última versión de re . Obtenga la versión instalada ejecutando re --version o re -V
  • La --verbose imprime mensajes de depuración, lo que puede reducir el problema.
  • Los problemas de conexión pueden deberse a una configuración de proxy incorrecta. Consulta Utilizar un proxy para configurar el proxy de solicitudes.
  • El directorio de configuración CLI de Communications Mining es específico del sistema, por ejemplo ~/.config/reinfer en Linux o macOS y %AppData%/reinfer en Windows. Se puede eliminar de forma segura y la CLI la volverá a rellenar, pero se perderá toda la configuración (incluidas las sesiones de usuario).

Si cree que podemos hacer algo para mejorarlo o si encuentra algún error o comportamiento inesperado, póngase en contacto con el soporte técnico.

  • Características
  • Instalación
  • Ayuda

Was this page helpful?

Obtén la ayuda que necesitas
RPA para el aprendizaje - Cursos de automatización
Foro de la comunidad UiPath
Logotipo blanco de UiPath
Confianza y seguridad
© 2005-2024 UiPath. All rights reserved.