Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
/ rbkcli Public archive

Command Line Interface (CLI) conversion of Rubrik APIs.

License

Notifications You must be signed in to change notification settings

rubrikinc/rbkcli

Repository files navigation

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.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages