Skip to main content

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.
    • env: Print env vars for SDK samples. Use --format shell (default) / powershell / cmd for your platform; then eval $(cobo config env) or the doc-recommended command.

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.

AI Coding Agent Integration

  • skill: Install and manage AI coding agent skills.
    • install: Install cobo-waas skill for an AI coding agent (claude, cursor, or all).
    • list: List available skills.
    • remove: Remove installed skill from an AI coding agent.
    • status: Show skill installation status.

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.

AI Coding Agent Setup

After installing cobo-cli, you can install the WaaS skill for your AI coding assistant:

# Install globally for Claude Code
cobo skill install claude

# Install in current project only
cobo skill install claude --scope local

# Install for all supported agents
cobo skill install all

# Check installation status
cobo skill status

# Remove skill
cobo skill remove claude

The skill enables AI agents (Claude Code, Cursor) to:

  • Set up Cobo API authentication
  • Create and manage wallets (Custodial, MPC)
  • Execute transfers and monitor transactions
  • Generate SDK code in Python, JavaScript, Go, Java

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cobo_cli-0.1.4.tar.gz (93.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cobo_cli-0.1.4-py3-none-any.whl (115.5 kB view details)

Uploaded Python 3

File details

Details for the file cobo_cli-0.1.4.tar.gz.

File metadata

  • Download URL: cobo_cli-0.1.4.tar.gz
  • Upload date:
  • Size: 93.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.13

File hashes

Hashes for cobo_cli-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6efe88cc06f9309159df569e4a7fa00dc54181dc70957913e2573a2a0aef4556
MD5 ee29d41cb4648b5061216a140d0f9612
BLAKE2b-256 72ec6d82b7501a8963b97612c7b98f97fab6ff2c623a2141c0e20f12ce19d8e3

See more details on using hashes here.

File details

Details for the file cobo_cli-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: cobo_cli-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 115.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.13

File hashes

Hashes for cobo_cli-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cadde89beda5472fe33aa48e9ee96a6cde40148e4b58d4647cdc3a6dcf75c00a
MD5 071187d140a7ef0ad80e88dfa1c9e600
BLAKE2b-256 77d907a38d99fe03c56196c2ff76de59efaebae7d6049b66266eeb566bd4b14e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page