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

來自 automattic 的更多技能