Global-Scale Sustainable Blockchain Fabric

Clone this repo:
  1. f2ff282 update header by Ubuntu · 7 days ago main
  2. 314b760 add license by Ubuntu · 7 days ago
  3. 23f7902 updatte license by Ubuntu · 7 days ago
  4. ace1901 mv DISCLAIMER-WIP DISCLAIMER by Ubuntu · 7 days ago
  5. 0680b4f Update .asf.yaml by cjcchen · 3 weeks ago

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

http://www.apache.org/licenses/LICENSE-2.0

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.

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.