dn-register

โดย automattic

ลงทะเบียนชื่อโดเมนใหม่โดยใช้ dn CLI ใช้เมื่อผู้ใช้ต้องการซื้อหรือลงทะเบียนโดเมน ในโหมดพาร์ทเนอร์ จะดำเนินการลงทะเบียนโดยตรงกับ...

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

dn register

Register a new domain name.

Usage

# Partner mode: register with contact details (interactive prompts for missing fields)
dn register example.com
dn register example.com --period=2 --privacy=on

# Partner mode: full non-interactive registration
dn register example.com \
  --first-name=John --last-name=Doe \
  --email=john@example.com --phone=+1.5551234567 \
  --address="123 Main St" --city=Springfield --state=IL \
  --postal-code=62701 --country=US

# Premium domain (partner mode)
dn register premium.com --price=50000

# User mode: adds domain to cart (no direct registration)
dn register example.com

# User mode with site association
dn register example.com --site=mysite.wordpress.com

Options

OptionDescription
--period, -pRegistration period in years (default: 1)
--privacyon (default), off, or redact (partner mode)
--pricePrice in cents for premium domains (partner mode)
--site, -sWordPress.com site slug (user mode)
--first-name, --last-name, etc.Contact details (partner mode, prompted if missing)

Behavior by Mode

  • Partner mode: Registers directly via API. Prompts for contact info if not provided via flags. Asks for confirmation before proceeding.
  • User mode: Checks availability first, then adds to WPCOM shopping cart. Outputs a checkout URL. Use dn checkout to complete purchase in browser.

Notes

  • In user mode, defaults to domain-only siteless checkout (no-site)
  • Product slug mapping: .com = domain_reg, others = dot{tld}_domain

Skills เพิ่มเติมจาก automattic

wp-phpstan
automattic
ใช้เมื่อกำหนดค่า เรียกใช้ หรือแก้ไขการวิเคราะห์แบบสแตติกของ PHPStan ในโปรเจกต์ WordPress (ปลั๊กอิน/ธีม/ไซต์): การตั้งค่า phpstan.neon, เบสไลน์,…
official
wp-playground
automattic
ใช้สำหรับเวิร์กโฟลว์ของ WordPress Playground: อินสแตนซ์ WP แบบใช้แล้วทิ้งที่รวดเร็วในเบราว์เซอร์หรือในเครื่องผ่าน @wp-playground/cli (server, run-blueprint, build-snapshot),…
official
wp-plugin-development
automattic
ใช้เมื่อพัฒนา WordPress plugins: สถาปัตยกรรมและ hooks, การเปิดใช้งาน/ปิดใช้งาน/ถอนการติดตั้ง, UI สำหรับผู้ดูแลระบบและ Settings API, การจัดเก็บข้อมูล, cron/งาน, ความปลอดภัย…
official
wp-project-triage
automattic
ใช้เมื่อคุณต้องการตรวจสอบที่เก็บ WordPress (ปลั๊กอิน/ธีม/ธีมบล็อก/WP core/Gutenberg/ทั้งไซต์) อย่างแน่นอน รวมถึงเครื่องมือ/การทดสอบ/เวอร์ชัน…
official
wp-rest-api
automattic
ใช้เมื่อสร้าง ขยาย หรือดีบักเอนด์พอยต์/เส้นทางของ WordPress REST API: register_rest_route, คลาส WP_REST_Controller/controller, schema/argument…
official
wp-wpcli-and-ops
automattic
ใช้เมื่อทำงานกับ WP-CLI (wp) สำหรับการดำเนินการ WordPress: การค้นหาและแทนที่อย่างปลอดภัย, การส่งออก/นำเข้าฐานข้อมูล, การจัดการปลั๊กอิน/ธีม/ผู้ใช้/เนื้อหา, cron, การล้างแคช,…
official
wpds
automattic
ใช้เมื่อสร้าง UI ที่ใช้ประโยชน์จาก WordPress Design System (WPDS) และส่วนประกอบ โทเค็น รูปแบบ ฯลฯ
official
woocommerce-finalize
automattic
การตรวจสอบสุขภาพโค้ดและความสามารถในการตรวจสอบย้อนกลับก่อนเผยแพร่สำหรับปลั๊กอิน WooCommerce ดำเนินการหลังจากการตรวจสอบโค้ด -- เน้นที่โค้ดที่ไม่ได้ใช้ การซ้ำซ้อน ความซับซ้อนเชิงโครงสร้าง และ...
official