Skip to main content

WAYSCloud CLI

Command-line interface for WAYSCloud. Built on the Python SDK.

Installation

pip install wayscloud-cli

Version 0.6.0 adds the upgrade preflight (cloud k8s preflight, non-zero exit on blockers) and requires SDK wayscloud>=0.5.0.

Authentication

cloud login --token wayscloud_pat_...
cloud whoami
cloud logout

Priority: --token flag > WAYSCLOUD_TOKEN env var > ~/.wayscloud/credentials file.

Commands

VPS

cloud vps list
cloud vps create --hostname web01 --plan vps-medium --region no --os ubuntu-24.04
cloud vps info <id>
cloud vps delete <id> --confirm
cloud vps start <id>
cloud vps stop <id>
cloud vps plans
cloud vps os-templates

DNS

cloud dns zones
cloud dns zones-create example.com
cloud dns records example.com
cloud dns records-create example.com --type A --name www --value 192.0.2.1
cloud dns records-delete example.com <record-id> --confirm

Database

cloud db list
cloud db create mydb --type postgresql --tier standard
cloud db info postgresql mydb
cloud db delete postgresql mydb --confirm

Redis

cloud redis list
cloud redis create myredis --plan redis-starter --region no
cloud redis info <id>
cloud redis delete <id> --confirm
cloud redis plans

Storage

cloud storage buckets
cloud storage buckets-create my-bucket
cloud storage buckets-delete my-bucket --confirm
cloud storage keys my-bucket
cloud storage keys-create my-bucket --name ci

Apps

cloud app list
cloud app create my-app --plan app-basic --region eu
cloud app deploy <id> --image ghcr.io/org/app:latest
cloud app start <id>
cloud app stop <id>
cloud app delete <id> --confirm

Kubernetes

cloud k8s plans --kind node
cloud k8s list
cloud k8s create shop --pool k8s-node-2c4g:2 --plan k8s-cluster-dev --region no --wait
cloud k8s info <cluster-id>
cloud k8s kubeconfig <cluster-id> -o ~/.kube/shop.yaml   # written with mode 0600
cloud k8s preflight <cluster-id> 1.35                  # blockers/warnings; exit != 0 on blockers
cloud k8s upgrade <cluster-id> 1.35 --mode next-maintenance-window --backup-first
cloud k8s scale <cluster-id> default 4
cloud k8s add-pool <cluster-id> batch --plan k8s-node-4c16g --count 2 \
  --label role=worker --taint dedicated=gpu:NoSchedule --ssh-key-id <key-id>
cloud k8s delete-pool <cluster-id> batch
cloud k8s api-access <cluster-id> --cidr 203.0.113.0/24
cloud k8s ip-allocate <cluster-id>
cloud k8s ip-release <cluster-id> <address>
cloud k8s ptr <cluster-id> <address> mail.example.com
cloud k8s backups <cluster-id>
cloud k8s backup <cluster-id>
cloud k8s restore <cluster-id> <backup-id> -n shop
cloud k8s upgrade <cluster-id>            # list available versions
cloud k8s upgrade <cluster-id> 1.34       # upgrade to a version
cloud k8s delete <cluster-id> --confirm-name shop --wait

IoT

cloud iot devices
cloud iot devices-create --device-id sensor-01 --name "Temperature Sensor"
cloud iot devices-info <device-id>
cloud iot devices-delete <device-id> --confirm
cloud iot groups
cloud iot groups-create --name "Floor 2"

Impact

cloud impact forest create "My forest"
cloud impact forest status --visualize emoji
cloud impact tree grow --count 10 --idempotency-key <key>
cloud impact commitments list

Shell

cloud shell connect

Output formats

# Default: formatted tables
cloud vps list

# JSON (for scripting)
cloud vps list --json

Requirements

  • Python 3.9+
  • wayscloud SDK >=0.4.0 (installed automatically; the Kubernetes commands need a release that exposes client.kubernetes)

Documentation

Full reference: docs.wayscloud.services/cli

License

MIT

Metadata

Release files for wayscloud-cli 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wayscloud-cli 0.6.0
File Size Uploaded Provenance
wayscloud_cli-0.6.0.tar.gz 36.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for wayscloud-cli 0.6.0
File Interpreter ABI Platform
wayscloud_cli-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 75.0 kB

Release files / wayscloud_cli-0.6.0.tar.gz

Download URL wayscloud_cli-0.6.0.tar.gz
Size 36.5 kB
Tags Source
SHA-256 checksum
How to use checksums
65c3e73fb2b3b10708227cde57523638283147237f33890f2284abf8071432d3
BLAKE2b-256 checksum
How to use checksums
3531304010429313c25d3eddb45322b4f2e67e2e238b650b0ab266f50df14836
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / wayscloud_cli-0.6.0-py3-none-any.whl

Download URL wayscloud_cli-0.6.0-py3-none-any.whl
Size 38.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6db9f63ae68a34c2fee8f72a4755fd78257036cfa5670c9cd4e584596a774fd7
BLAKE2b-256 checksum
How to use checksums
01ec4624ba7b0298f9ee3767359788bec434dba15492cd64c51ce198bf697116
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Security for wayscloud-cli 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page