| commit | e1cb4c1720c3b35d8a30973d75b1ce39bc9142d4 | [log] [tgz] |
|---|---|---|
| author | gopuman <gopuman@node0.gopuman-182286.resilientdb-pg0.utah.cloudlab.us> | Sun Dec 03 17:57:26 2023 -0700 |
| committer | gopuman <gopuman@node0.gopuman-182286.resilientdb-pg0.utah.cloudlab.us> | Sun Dec 03 17:57:26 2023 -0700 |
| tree | c0aa7d4e6f716cf69a89bf77605db886039051b2 | |
| parent | af0ed4d1ea66e3dc9c06458f4ccba3d1e68fbebe [diff] |
Added linux binary
resdb-cli is a command-line interface for managing ResDB instances and Python SDK instances. It provides functionalities to create, delete, view, and manage instances in a simple and efficient way.
To use resdb-cli, you can download the binary from the Releases page on GitHub.
Go to the Releases page.
Download the latest release for your operating system (e.g., resdb-cli-linux for Linux).
Make the downloaded binary executable:
chmod +x resdb-cli
resdb-cli uses a configuration file (config.ini) to store settings such as the MongoDB URI. Follow the steps below to configure the CLI:
Create a configuration file named config.ini, Replace the MongoDB_URI value with the appropriate MongoDB connection string.:
[Database] MongoDB_URI = mongodb://localhost:27017/ name = resui [User] current_user = gn@gmail.com
Once installed and configured, you can use resdb-cli to perform various actions related to ResDB and Python SDK instances. Run the CLI with the following command:
./resdb-cli
./resdb-cli login # Enter email and password when prompted
./resdb-cli logout
./resdb-cli create_instance <type>
./resdb-cli view_instances
./resdb-cli delete_instance <instance_id>
./resdb-cli whoami
For more detailed information about each command, run ./resdb-cli --help or ./resdb-cli --help.