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.4.0.tar.gz (21.3 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.4.0-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wayscloud_cli-0.4.0.tar.gz
  • Upload date:
  • Size: 21.3 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.4.0.tar.gz
Algorithm Hash digest
SHA256 b5dec8915a108e5ff7787c9aaa49bf30e099ee024e959fc04af64fd6098b6632
MD5 e03838857ad925548090fff99f8f6447
BLAKE2b-256 c1002dc783c8bd8e908dd6f703b91ebc515868d7ccedd9d7bb98e56ae33796e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wayscloud_cli-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 25.9 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 731cd50618c99df5dca83ce5efe480ae80938c242c2050974a5fd5388b3e2493
MD5 1ce24fead56f40118f3729418f178330
BLAKE2b-256 10b38fcdb3507b6b67c384c2c8389fecba0762239c0ca7652afba1bdb18a9aba

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