Cobo Command-line Tool
Project description
Cobo CLI
Cobo Command Line Interface (CLI) is a powerful developer tool designed to help you build, test, and manage your integration with Cobo Wallet-as-a-Service (WaaS) 2.0 directly from the command line.
Table of Contents
Installation
To install Cobo CLI, you can use pip with the following command:
pip install cobo-cli
Ensure that you have Python 3.9 or newer installed.
Or you can install Cobo CLI via homebrew:
brew install cobo-cli
Usage
To use Cobo CLI, run the following command in your terminal:
cobo [OPTIONS] COMMAND [ARGS]...
Check full documentation here.
Global Options
-e, --env [dev|prod]: Override the environment for this command.-a, --auth [apikey|user|org]: Override the authentication method for this command.--enable-debug: Enable debug mode for verbose logging.--config-file FILEPATH: Specify the path to the config file.--spec PATH: Path to a custom OpenAPI specification file.--help: Show help message and exit.
Commands
Application Management
- app: Manage Cobo applications.
init: Create a new Cobo application project.run: Run a Cobo application.upload: Upload a Cobo application.update: Update an existing Cobo application.status: Check the status of a Cobo application.
Authentication
- auth: Set or view the default authentication method.
Configuration
- config: Manage CLI configuration settings.
set: Set a configuration value.get: Get a configuration value.list: List all configuration values.delete: Delete a configuration value.show-path: Show the configuration file path.
Login and Logout
- login: Perform user or organization login operations.
status: Show the current login status.switch-org: Switch between logged-in organizations.
- logout: Perform user or organization logout operations.
API Requests
- get: Make a GET request to a Cobo API endpoint.
- post: Make a POST request to a Cobo API endpoint.
- put: Make a PUT request to a Cobo API endpoint.
- delete: Make a DELETE request to a Cobo API endpoint.
- graphql: Execute a GraphQL query against the Cobo API.
Documentation
- doc: Open Cobo documentation or display API operation information.
Environment
- env: Set or view the current environment.
Logs
- logs: Commands related to log operations.
tail: Tail the request logs from Cobo.
Webhook
- webhook: Commands related to webhook operations.
events: List all available webhook event types.listen: Listen for webhook events using WebSocket.trigger: Manually trigger a webhook event.
Other Commands
- open: Open a specific Cobo portal page in the default web browser.
- keys: Generate and manage API/APP keys.
generate: Generate a new API/APP key pair.
- version: Display the current version of the Cobo CLI tool.
Development
You can build your custom Cobo CLI based on the Cobo CLI project. You need to install Poetry first.
To set up the development environment, install the development dependencies:
poetry install
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cobo_cli-0.0.7.tar.gz.
File metadata
- Download URL: cobo_cli-0.0.7.tar.gz
- Upload date:
- Size: 56.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aed9356a758067dc3f0e80a635d86bd2254673188d3889bb5e847ecf6efe0554
|
|
| MD5 |
e0602b64f00da908283dcd6cdc7338ce
|
|
| BLAKE2b-256 |
a6b77a4cbb7b9a426d1d1f15c58f162b5ca7f7e410516d0ce96680967c56d5ba
|
File details
Details for the file cobo_cli-0.0.7-py3-none-any.whl.
File metadata
- Download URL: cobo_cli-0.0.7-py3-none-any.whl
- Upload date:
- Size: 68.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f45d6dd5f75d39a443c598d27b9f1d04b39a57f7cc312affa33ec3cb680e801
|
|
| MD5 |
a428ac6ebd6ba92ab3ad607255033a8f
|
|
| BLAKE2b-256 |
2d8a7661a2d36fa43931fa320f0c942855fc3d9009e6df921dae60cded910f0a
|