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.1.1.tar.gz (14.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.1.1-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wayscloud_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 14.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.1.1.tar.gz
Algorithm Hash digest
SHA256 437ff4495b03b1edc6a839389266ae835fa81cc7a37eefd7ac480c70905b336a
MD5 90c427eb2371beb1f4bdb4b761575a2a
BLAKE2b-256 9238824155aae4a29aa84fec1d4136bbec457ee26b592da4a07f253919793702

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wayscloud_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 20.8 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9c12394846a676a85b2f47cbc6ac70b32098a0bc76bac3202bd20db7bef34dc0
MD5 5c188ae957c3d3b9412d25b7cb953f8b
BLAKE2b-256 7728af6b4213425507e5f3c6fbc1327b4d0565e84554796e67e2a10f279a1cee

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