bbba3141274413b1c81216f2aa45d9cec3dfe9be
- Move Server/Domain/DNSRecord/Bucket/StorageInstance/CDNInstance/Order/Error structs to internal/model/ - Provider interfaces now reference model.* types - Rainyun provider implementations import model package for data types - CLI commands updated to use model.DNSRecord directly Separates pure data structures from service contract interfaces, following hexagonal architecture: models (entities) live independently from ports (provider interfaces) and adapters (rainyun/* implementations).
ry — Multi-Cloud CLI
A gh-style CLI for managing cloud resources across providers.
Install
go install git.yoresee.cc/nightstar/ry/cmd/ry@latest
Quick Start
ry provider add rainyun
# Enter your API key when prompted
ry server list
ry server start <id>
ry server vnc <id>
Commands
ry provider— manage cloud providers (add, use, list)ry server— manage cloud servers (list, get, start, stop, reboot, reinstall, reset-password, vnc)ry domain— manage domains and DNS recordsry storage— manage object storage and bucketsry billing— view ordersry config— manage configuration (show, set, path)ry completion— shell completion for bash/zsh/fish
Global Flags
| Flag | Description |
|---|---|
-p, --provider |
Override cloud provider |
-o, --output |
Output format: table, json, yaml |
--raw |
Raw API response |
--debug |
Debug output |
Supported Providers
- 雨云 (Rainyun) — full support
- More coming soon
Config
~/.config/ry/config.toml
Languages
Go
100%