Skip to main content

A python package that creates a CLI conversion from Rubrik APIs

Project description

# rbkcli

This project provides a Command Line Interface (CLI) conversion of Rubrik APIs. It can be used for both running commands or writing simplified scripts.

## Installation

Install from PyPI:

` $ pip install rbkcli $ echo 'eval "$(register-python-argcomplete rbkcli)"' >> ~/.bashrc `

## Example

By default, the rbkcli will attempt to read the the Rubrik Cluster credentials from the following environment variables: * rubrik_cdm_node_ip * rubrik_cdm_username * rubrik_cdm_password So the commands to be run would be:

` $ export rubrik_cdm_node_ip=<IP> $ export rubrik_cdm_username=<username> $ export rubrik_cdm_password=<password> `

Once the above environment variables are exported with the authentication data, rbkcli will dynamically create the command line based on the available APIs in that cluster.

$ rbkcli cluster me

![rbkcli cluster me output](

## Documentation * [Quick Start Guide]( * [rbkcli Documentation]( * [Rubrik API Documentation](

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rbkcli, version 1.0.0b1
Filename, size File type Python version Upload date Hashes
Filename, size rbkcli-1.0.0b1.tar.gz (52.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page