reduct-cli

Crates.ioreduct-cli
lib.rsreduct-cli
version0.4.0
sourcesrc
created_at2024-04-03 09:54:56.604486
updated_at2024-10-22 12:29:59.422968
descriptionA CLI client for ReductStore written in Rust
homepagehttps://reduct.store
repository
max_upload_size
id1194876
size275,597
Alexey Timin (atimin)

documentation

https://reduct.store/docs/guides

README

ReductStore CLI

Crates.io(latest version) GitHub all releases GitHub Workflow Status

The ReductStore CLI is a command line client for ReductStore, a time series database for blob data.

Features

  • Support for ReductStore API v1.12
  • Easy management of buckets, tokens and replications
  • Ability to check the status of a storage engine
  • Aliases for storing server credentials
  • Export and mirror data

Installing

Cargo

cargo install reduct-cli

Binary Linux

wget https://github.com/reductstore/reduct-cli/releases/latest/download/reduct-cli.linux-amd64.tar.gz
tar -xvf reduct-cli.linux-amd64.tar.gz
chmod +x reduct-cli
sudo mv reduct-cli /usr/local/bin

Binary MacOS

wget https://github.com/reductstore/reduct-cli/releases/latest/download/reduct-cli.macos-amd64.tar.gz
tar -xvf reduct-cli.macos-amd64.tar.gz
chmod +x reduct-cli
sudo mv reduct-cli /usr/local/bin

Binary Windows

Invoke-WebRequest -Uri  https://github.com/reductstore/reduct-cli/releases/latest/download/reduct-cli.win-amd64.zip -OutFile reductstore.zip
Expand-Archive -LiteralPath reductstore.zip -DestinationPath .
.\reductstore.exe

Usage

Check with our demo server:

reduct-cli alias add play -L  https://play.reduct.store -t reductstore
reduct-cli server status play
reduct-cli bucket ls --full play
reduct-cli cp play/datasets ./datasets --limit 100

For more examples, see the Guides section in the ReductStore documentation.

Links

Commit count: 0

cargo fmt