rubrikinc / rbkcli

Command Line Interface (CLI) conversion of Rubrik APIs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rbkcli

⚠️ This project is no longer being maintained, there are not active contributions.

❌ This project is NOT supported by Rubrik Support, it is a community effort to facilitate usability.

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 source:

$ git clone https://github.com/rubrikinc/rbkcli.git
$ cd rbkcli
$ python setup.py install

πŸ” 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

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

$ rbkcli cluster me
{
  "acceptedEulaVersion": "0.0",
  "apiVersion": "1",
  "id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
  "latestEulaVersion": "1.1",
  "name": "MyCluster",
  "timezone": {
    "timezone": ""
  },
  "version": "4.2.2-1699"
}

πŸ“˜ Documentation

Here are some resources to get you started! If you find any challenges from this project are not properly documented or are unclear, please raise an issue and let us know! This is a fun, safe environment - don't worry if you're a GitHub newbie! ❀️

πŸ’ͺ How You Can Help

We glady welcome contributions from the community. From updating the documentation to adding more functions for Python, all ideas are welcome. Thank you in advance for all of your issues, pull requests, and comments! ⭐

πŸ“Œ License

πŸ‘‰ About Rubrik Build

We encourage all contributors to become members. We aim to grow an active, healthy community of contributors, reviewers, and code owners. Learn more in our Welcome to the Rubrik Build Community page.

We'd love to hear from you! Email us: build@rubrik.com πŸ’Œ

About

Command Line Interface (CLI) conversion of Rubrik APIs.

License:MIT License


Languages

Language:Python 100.0%