Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
“License”); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
“AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.

ResCLI
ResCLI 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.
Table of Contents
Installation
To use ResCLI, 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.,
res-cli-linux for Linux). - Make the downloaded binary executable:
chmod +x res-cli
Usage
Once installed and configured, you can use res-cli to perform various actions related to ResDB and Python SDK instances. Run the CLI with the following command:
./res-cli
Commands
- Login: Logs in to the specified user account.
./res-cli --login # Enter email and password when prompted
- Logout: Logs out from the current user account.
./res-cli --logout
- Create Instance: Creates a new ResDB or Python SDK instance.
./res-cli --create <type>
- View Instances: Displays details about running instances.
./res-cli --view-instances
- Delete Instance: Deletes a running ResDB or Python SDK instance.
./res-cli --delete <instance_id>
- Current User: Displays the currently logged-in user.
./res-cli --whoami
For more detailed information about each command, run ./res-cli --help or ./res-cli <command> --help.