Skip to main content

Command-line interface for WAYSCloud — manage VPS, DNS, databases, storage, apps, IoT, and more

Project description

WAYSCloud CLI

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

Installation

pip install wayscloud-cli

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 credentials

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

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"

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)

Documentation

Full reference: docs.wayscloud.services/cli

License

MIT

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

wayscloud_cli-0.2.0.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

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

wayscloud_cli-0.2.0-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file wayscloud_cli-0.2.0.tar.gz.

File metadata

  • Download URL: wayscloud_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for wayscloud_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 51516575c6ffb5f2452cb08bbebffb3d78515b0e91b793c1f408ff03d29d5770
MD5 ba79eb37aa00370f6d6c0dfee2257db1
BLAKE2b-256 03c289076038f52f927a8432984cbff52adae0020e155f33e7fc1c2cf7608bcc

See more details on using hashes here.

File details

Details for the file wayscloud_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: wayscloud_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for wayscloud_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 41c6537b1e4bf6945a5c8ceccf315ed047612c22169111611b5cc58364f6a801
MD5 520b106bb0ccd9e2dc2dd113707238f5
BLAKE2b-256 f683498bcee47556a52c3e811431555b763a4034b49056e320103b8f7028a7f3

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