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

automatticのその他のスキル

wp-phpstan
automattic
WordPressプロジェクト(プラグイン/テーマ/サイト)でPHPStan静的解析の設定、実行、修正を行う際に使用:phpstan.neonのセットアップ、ベースライン、…
official
wp-playground
automattic
WordPress Playgroundのワークフローに使用:ブラウザまたはローカルで@wp-playground/cli(サーバー、run-blueprint、build-snapshot)を介した高速な使い捨てWPインスタンス、…
official
wp-plugin-development
automattic
WordPressプラグイン開発時に使用:アーキテクチャとフック、アクティベーション/ディアクティベーション/アンインストール、管理UIとSettings API、データストレージ、cron/タスク、セキュリティ…
official
wp-project-triage
automattic
WordPressリポジトリ(プラグイン/テーマ/ブロックテーマ/WPコア/Gutenberg/フルサイト)のツール/テスト/バージョンなどを含む決定的な検査が必要な場合に使用します。
official
wp-rest-api
automattic
WordPress REST APIのエンドポイント/ルート(register_rest_route、WP_REST_Controller/コントローラークラス、スキーマ/引数…)の構築、拡張、デバッグ時に使用します。
official
wp-wpcli-and-ops
automattic
WordPressの操作でWP-CLI(wp)を使用する際に利用:安全な検索置換、データベースのエクスポート/インポート、プラグイン/テーマ/ユーザー/コンテンツ管理、cron、キャッシュフラッシュなど
official
wpds
automattic
WordPress Design System(WPDS)とそのコンポーネント、トークン、パターンなどを活用してUIを構築する際に使用します。
official
woocommerce-finalize
automattic
WooCommerceプラグインのプレリリースコード健全性とトレーサビリティ監査。コードレビュー後に実行され、デッドコード、重複、構造的複雑性などに焦点を当てます…
official