Official command-line interface for CubePath Cloud API.
# Install in isolated environment with pipx
pipx install git+https://github.com/CubePathInc/cubecli.git
git clone https://github.com/CubePathInc/cubecli.git
cd cubecli
pipx install .
Configure your API token:
cubecli config
Or set environment variable:
export CUBE_API_TOKEN=your-api-token
-
Configure your API token:
cubecli config
-
Verify connection:
cubecli project list
# Create SSH key
cubecli ssh-key create --name demo --public-key-from-file ~/.ssh/id_rsa.pub
# List SSH keys
cubecli ssh-key list
# Delete SSH key
cubecli ssh-key delete <key-id>
# List projects
cubecli project list
# Create project
cubecli project create --name "My Project" --description "Test project"
# Delete project
cubecli project delete <project-id>
# List networks
cubecli network list
# Create network
cubecli network create --name test --location <location> --cidr 10.0.0.0/24 --project <project-id>
# Delete network
cubecli network delete <network-id>
# Create VPS
cubecli vps create --name demoserver --plan cx11 --template "Debian 12" --ssh demo --project <project-id>
# List VPS
cubecli vps list
# Destroy VPS
cubecli vps destroy <vps-id>
# Power actions
cubecli vps power restart <vps-id>
cubecli vps power stop <vps-id>
cubecli vps power start <vps-id>
# Resize VPS
cubecli vps resize <vps-id> --plan rz.nano
# Change password
cubecli vps change-password <vps-id> --new-password test123
# Reinstall VPS
cubecli vps reinstall <vps-id> --template "Debian 12"
# List available locations
cubecli location list
# List available VPS plans with pricing
cubecli vps plan list
# List available VPS templates
cubecli vps template list
# List all floating IPs
cubecli floating-ip list
--json
- Output in JSON format--verbose
- Enable verbose output--help
- Show help message