Skip to content

ResilientApp/ResCLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub

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.

  1. Go to the Releases page.
  2. Download the latest release for your operating system (e.g., res-cli-linux for Linux).
  3. 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.