dn-cart

作成者: automattic

WordPress.comのショッピングカートをdn CLIで表示します。チェックアウト前にカート内のドメインを確認したい場合に使用します。ユーザーモードのみ対応。

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

dn cart

View the contents of your WordPress.com shopping cart.

Usage

dn cart

Output

Table columns: Domain, Product, Cost

Shows "Your cart is empty." if no items.

Notes

  • User mode only - returns error in partner mode
  • Reads from WPCOM rest/v1.1/me/shopping-cart/no-site
  • Domains are added to cart via dn register
  • Use dn checkout to complete the purchase

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