Using the b2c CLI for storefront sites listing and inspection
View on GitHubSalesforceCommerceCloud/b2c-developer-tooling
b2c-cli
January 20, 2026
Select agents to install to:
npx add-skill https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/main/plugins/b2c-cli/skills/b2c-sites/SKILL.md -a claude-code --skill b2c-sitesInstallation paths:
.claude/skills/b2c-sites/# B2C Sites Skill Use the `b2c` CLI plugin to list and inspect storefront sites on Salesforce B2C Commerce instances. ## Examples ### List Sites ```bash # list all sites on the configured instance b2c sites list # list sites on a specific server b2c sites list --server my-sandbox.demandware.net # list sites with JSON output (useful for parsing/automation) b2c sites list --json # use a specific instance from config b2c sites list --instance production # enable debug logging b2c sites list --debug ``` ### More Commands See `b2c sites --help` for a full list of available commands and options in the `sites` topic.