dn-renew
bởi automattic
Gia hạn đăng ký tên miền bằng dn CLI. Sử dụng khi người dùng muốn kéo dài thời hạn đăng ký tên miền. Chỉ chế độ đối tác - chế độ người dùng chuyển hướng đến…
npx skills add https://github.com/automattic/dn-cli --skill dn-renewdn renew
Renew a domain registration.
Usage
# Interactive (prompts for expiration year)
dn renew example.com
# Non-interactive
dn renew example.com --expiration-year=2025 --period=1
# Premium domain renewal
dn renew premium.com --expiration-year=2025 --fee=15.99
Options
| Option | Description |
|---|---|
--period, -p | Renewal period in years (default: 1) |
--expiration-year | Current expiration year (required, prompted if missing) |
--fee | Fee amount for premium domains |
Notes
- Partner mode only - user mode shows redirect to
wordpress.com/domains/manage - The
--expiration-yearis the domain's current expiration year, not the desired new one - Use
dn info <domain>first to check the current expiration date