Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Unreleased
- Update `--help` text, the READMEs and the crate descriptions to refer to UiPath IXP rather than
Re:infer, and print `re` rather than `reinfer-cli` in `re --help` and `re --version`. The config
file location (`~/.config/reinfer`), the `REINFER_CLI_NUM_THREADS` environment variable, the
`--reinfer-tenant-id` flag and the `reinfer-cli`/`reinfer-client` crate names are unchanged

# v0.42.0
- Fix `re get datasets`, `re prune`, `re get custom-label-trend-report` and `re package upload`
failing for a whole tenant when any one of its datasets used an attribution method, model version,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<a href="https://docs.uipath.com/communications-mining/automation-cloud/latest/developer-guide/overview-cli">
<img alt="reinfer-cli" src="https://avatars.githubusercontent.com/u/375663?s=200&v=4" width="128">
<img alt="UiPath IXP CLI" src="https://avatars.githubusercontent.com/u/375663?s=200&v=4" width="128">
</a>
</p>

Expand Down
2 changes: 1 addition & 1 deletion api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "reinfer-client"
version = "0.42.0"
description = "API client for Re:infer, the conversational data intelligence platform"
description = "API client for UiPath IXP"
homepage = "https://github.com/reinfer/cli"
readme = "README.md"
authors = ["reinfer Ltd. <eng@reinfer.io>"]
Expand Down
4 changes: 2 additions & 2 deletions api/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# API Library for reinfer
# API Library for UiPath IXP

A Rust library for the reinfer API.
A Rust library for the UiPath IXP API.
2 changes: 1 addition & 1 deletion api/src/retry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub enum RetryStrategy {
Always,
}

/// Configuration for the Reinfer client if retrying timeouts.
/// Configuration for the IXP client if retrying timeouts.
#[derive(Clone, Debug, PartialEq)]
pub struct RetryConfig {
/// Strategy for when to retry after a timeout
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "reinfer-cli"
version = "0.42.0"
description = "Command line interface for Re:infer, the conversational data intelligence platform"
description = "Command line interface for UiPath IXP"
homepage = "https://github.com/reinfer/cli"
readme = "README.md"
authors = ["reinfer Ltd. <eng@reinfer.io>"]
Expand Down
5 changes: 3 additions & 2 deletions cli/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ use reqwest::Url;
use std::{path::PathBuf, str::FromStr};
use structopt::StructOpt;

/// re is the command line interface to reinfer clusters.
/// re is the command line interface for UiPath IXP.
#[derive(Debug, StructOpt)]
#[structopt(
name = "re",
global_settings = &[
structopt::clap::AppSettings::ColoredHelp,
structopt::clap::AppSettings::InferSubcommands,
Expand Down Expand Up @@ -71,7 +72,7 @@ pub enum Command {
Completion { shell: Shell },

#[structopt(name = "config")]
/// Manage reinfer authentication and endpoint contexts
/// Manage IXP authentication and endpoint contexts
Config {
#[structopt(subcommand)]
config_args: ConfigArgs,
Expand Down
14 changes: 7 additions & 7 deletions cli/src/commands/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ use anyhow::{anyhow, Result};
#[derive(Debug, StructOpt)]
pub enum ConfigArgs {
#[structopt(name = "add")]
/// Add a new context to the reinfer config file
/// Add a new context to the config file
AddContext {
#[structopt(long = "name", short = "n")]
/// The name of the context that will be created or updated
name: Option<String>,

#[structopt(long = "endpoint", short = "e")]
/// The reinfer cluster endpoint that will be used for this context
/// The IXP cluster endpoint that will be used for this context
endpoint: Option<Url>,

#[structopt(long = "token", short = "t")]
/// The reinfer API token that will be used for this context
/// The IXP API token that will be used for this context
token: Option<String>,

#[structopt(long = "accept-invalid-certificates", short = "k")]
Expand All @@ -48,22 +48,22 @@ pub enum ConfigArgs {
CurrentContext,

#[structopt(name = "delete")]
/// Delete the specified context from the reinfer config file
/// Delete the specified context from the config file
DeleteContext {
/// The name(s) of the context(s) which will be deleted
names: Vec<String>,
},

#[structopt(name = "ls")]
/// List available contexts in a reinfer config file
/// List available contexts in the config file
ListContexts {
#[structopt(long = "tokens")]
/// Show API tokens (by default tokens are hidden).
tokens: bool,
},

#[structopt(name = "use")]
/// Set the current context in the reinfer config file
/// Set the current context in the config file
UseContext {
/// The name of the context.
name: String,
Expand All @@ -83,7 +83,7 @@ pub enum ConfigArgs {
/// The URL to be parsed
#[structopt(long = "url", short = "u")]
url: Option<Url>,
/// The reinfer API token that will be used for this context
/// The IXP API token that will be used for this context
#[structopt(long = "token", short = "t")]
token: Option<String>,
},
Expand Down
Loading