dn-cart

作者: automattic

使用 dn CLI 檢視 WordPress.com 購物車。當使用者在結帳前想查看購物車中的網域時使用。僅限使用者模式——不……

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 的更多技能