dn-renew

作者: automattic

使用dn CLI续费域名注册。当用户希望延长域名注册期时使用。仅限合作伙伴模式——用户模式将重定向至……

npx skills add https://github.com/automattic/dn-cli --skill dn-renew

dn 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

OptionDescription
--period, -pRenewal period in years (default: 1)
--expiration-yearCurrent expiration year (required, prompted if missing)
--feeFee amount for premium domains

Notes

  • Partner mode only - user mode shows redirect to wordpress.com/domains/manage
  • The --expiration-year is the domain's current expiration year, not the desired new one
  • Use dn info <domain> first to check the current expiration date