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.3.0.tar.gz (17.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.3.0-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wayscloud_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 17.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.3.0.tar.gz
Algorithm Hash digest
SHA256 c06ad2be09824e2b4b9c3c617f2d2dfb17ea846e361541c6f653843778d6f72a
MD5 5144b2ddc61a61db3e28cfe3d0925d3b
BLAKE2b-256 5175f9eac3c211d1d1d06970b9b8ee78b9630c658952a2fdbe502a12b76ef851

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wayscloud_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 21.5 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9fe7dcebe399c5c56535cbb8a190d24f42141ecdd007efc15a3478f3326e060d
MD5 9b832dde6a4fe6c94f95877e1c38bd1b
BLAKE2b-256 6eba85c3358e963881765b3fa14e661f83c3fd286c1812846fc77630709185ae

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