|
1 | 1 | # lw — CLI for the Leaseweb API |
2 | 2 |
|
3 | | -A command-line interface for managing [Leaseweb](https://www.leaseweb.com/) infrastructure: dedicated servers, public cloud instances, IP addresses, invoices, DNS, and more. |
| 3 | +A command-line interface for managing [Leaseweb](https://www.leaseweb.com/) infrastructure: dedicated servers, public cloud instances, VPS, virtual servers, private clouds, CDN, DNS, email, and more. |
4 | 4 |
|
5 | 5 | ## Installation |
6 | 6 |
|
@@ -80,23 +80,44 @@ NAME: |
80 | 80 | USAGE: |
81 | 81 | lw [global options] [command [command options]] |
82 | 82 |
|
| 83 | +VERSION: |
| 84 | + dev |
| 85 | + |
83 | 86 | COMMANDS: |
84 | | - config Manage CLI configuration |
85 | | - dedicated-servers, ds Manage dedicated servers |
86 | | - domains Manage hosting domains |
87 | | - instances, i Manage public cloud instances |
88 | | - invoices Manage invoices |
89 | | - ips Manage IP addresses |
90 | | - load-balancers, lb Manage public cloud load balancers |
91 | | - private-networks, pn Manage private networks |
92 | | - services Manage services |
| 87 | + abuse-reports, abuse Manage abuse reports |
| 88 | + acronis-backup, backup Manage Acronis backup |
| 89 | + aggregation-packs, ap Manage aggregation packs |
| 90 | + api-keys, keys Manage API keys |
| 91 | + cdn, c Manage CDN resources |
| 92 | + colocations, colo Manage colocations |
| 93 | + config Manage CLI configuration |
| 94 | + datacenter-access, dca Manage datacenter access requests |
| 95 | + dedicated-racks, dr Manage dedicated racks |
| 96 | + dedicated-servers, ds Manage dedicated servers |
| 97 | + domains Manage hosting domains |
| 98 | + emails, email Manage email services |
| 99 | + floating-ips, fip Manage floating IPs |
| 100 | + instances, i Manage public cloud instances |
| 101 | + invoices Manage invoices |
| 102 | + ips Manage IP addresses |
| 103 | + load-balancers, lb Manage public cloud load balancers |
| 104 | + network-equipment, ne Manage dedicated network equipment |
| 105 | + private-clouds, pc Manage private clouds |
| 106 | + private-networks, pn Manage private networks |
| 107 | + remote-management, rm Manage OpenVPN remote management |
| 108 | + services Manage services |
| 109 | + storage Manage storage |
| 110 | + traffic-policy, tp Manage traffic policies |
| 111 | + virtual-servers, vs Manage virtual servers |
| 112 | + vps, v Manage VPS instances |
| 113 | + webhosting, wh Manage webhosting packages |
93 | 114 |
|
94 | 115 | GLOBAL OPTIONS: |
95 | 116 | --profile string, -p string Config profile to use |
96 | 117 | --api-key string Leaseweb API key (overrides profile) |
97 | 118 | --base-url string Override the base URL for API requests |
98 | 119 | --debug Enable debug logging of HTTP requests |
99 | | - --format string Output format: auto, json, pretty, raw, yaml (default: "auto") |
| 120 | + --format string Output format (one of: auto, json, pretty, raw, yaml) (default: "auto") |
100 | 121 | --transform string GJSON expression to transform output |
101 | 122 | --help, -h show help |
102 | 123 | --version, -v print the version |
@@ -169,17 +190,35 @@ lw ds list --format raw --transform "servers.#.id" |
169 | 190 |
|
170 | 191 | Use `lw <command> --help` for details on any subcommand. Here's a summary: |
171 | 192 |
|
172 | | -| Command | Alias | Subcommands | |
| 193 | +| Command | Alias | Description | |
173 | 194 | |---------|-------|-------------| |
174 | | -| `dedicated-servers` | `ds` | list, get, update, power-on/off/cycle, power-status, rescue, install, credentials, jobs, hardware-info, metrics, network-interfaces | |
175 | | -| `instances` | `i` | list, get, launch, terminate, start, stop, reboot, update, console, credentials, ips, snapshots, metrics, regions, types, images | |
176 | | -| `ips` | | list, get, update, null-route, remove-null-route, null-route-history, reverse-lookup | |
177 | | -| `invoices` | | list, get, pdf, proforma | |
178 | | -| `services` | | list, get, update, cancel, uncancel, cancellation-reasons | |
179 | | -| `domains` | | list, get, dns, dns-get, dns-create, dns-delete | |
180 | | -| `load-balancers` | `lb` | list, get, create, update, delete, listeners | |
181 | | -| `private-networks` | `pn` | list, get, create, update, delete, servers | |
| 195 | +| `abuse-reports` | `abuse` | List, get, resolve abuse reports, manage messages and attachments | |
| 196 | +| `acronis-backup` | `backup` | List backup items, get details, view metrics | |
| 197 | +| `aggregation-packs` | `ap` | List and get aggregation packs | |
| 198 | +| `api-keys` | `keys` | CRUD API keys, validate keys, list capabilities | |
| 199 | +| `cdn` | `c` | Distributions, origins, cache, SSL, WAF, geo-restrictions, metrics | |
| 200 | +| `colocations` | `colo` | CRUD colocations, credentials, IPs, metrics, notifications | |
182 | 201 | | `config` | | init, show | |
| 202 | +| `datacenter-access` | `dca` | Access requests, datacenters, contacts, visitors | |
| 203 | +| `dedicated-racks` | `dr` | CRUD racks, credentials, IPs, metrics, notifications | |
| 204 | +| `dedicated-servers` | `ds` | Full server lifecycle, credentials, IPs, jobs, metrics, DHCP, notifications | |
| 205 | +| `domains` | | DNS records, DNSSEC, nameservers, contacts, locks, zone import/export | |
| 206 | +| `emails` | `email` | Domains, mailboxes, forwards, aliases, spam filter, auto-reply | |
| 207 | +| `floating-ips` | `fip` | CRUD floating IP ranges, definitions, assign/unassign | |
| 208 | +| `instances` | `i` | Full instance lifecycle, credentials, IPs, snapshots, ISOs, security groups | |
| 209 | +| `invoices` | | List, get, PDF download, proforma, CSV export | |
| 210 | +| `ips` | | List, get, update, null route, reverse lookup (IPv4 + IPv6) | |
| 211 | +| `load-balancers` | `lb` | CRUD, listeners, IPs, metrics, monitoring | |
| 212 | +| `network-equipment` | `ne` | CRUD equipment, credentials, IPs, power, null routes | |
| 213 | +| `private-clouds` | `pc` | CRUD private clouds, credentials, metrics | |
| 214 | +| `private-networks` | `pn` | CRUD networks, servers, DHCP reservations | |
| 215 | +| `remote-management` | `rm` | OpenVPN profiles, credentials | |
| 216 | +| `services` | | List, get, update, cancel/uncancel | |
| 217 | +| `storage` | | List storage, VMs, volumes, grow volumes | |
| 218 | +| `traffic-policy` | `tp` | List, get, update policies, history, reset | |
| 219 | +| `virtual-servers` | `vs` | CRUD servers, credentials, metrics, snapshots, templates | |
| 220 | +| `vps` | `v` | Full VPS lifecycle, credentials, IPs, snapshots, monitoring, notifications | |
| 221 | +| `webhosting` | `wh` | Packages, usernames, domain aliases, catch-all | |
183 | 222 |
|
184 | 223 | ## Development |
185 | 224 |
|
|
0 commit comments