b2c-sites
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseB2C Sites Skill
B2C站点操作技能
Use the CLI plugin to list and inspect storefront sites on Salesforce B2C Commerce instances.
b2cTip: Ifis not installed globally, useb2cinstead (e.g.,npx @salesforce/b2c-cli).npx @salesforce/b2c-cli sites list
使用 CLI插件列出并检查Salesforce B2C Commerce实例上的店铺站点。
b2c提示: 如果未全局安装,请改用b2c(例如:npx @salesforce/b2c-cli)。npx @salesforce/b2c-cli sites list
Examples
示例
List Sites
列出站点
bash
undefinedbash
undefinedlist all sites on the configured instance
列出已配置实例上的所有站点
b2c sites list
b2c sites list
list sites on a specific server
列出指定服务器上的站点
b2c sites list --server my-sandbox.demandware.net
b2c sites list --server my-sandbox.demandware.net
list sites with JSON output (useful for parsing/automation)
以JSON格式输出站点列表(便于解析/自动化处理)
b2c sites list --json
b2c sites list --json
use a specific instance from config
使用配置中的指定实例
b2c sites list --instance production
b2c sites list --instance production
enable debug logging
启用调试日志
b2c sites list --debug
undefinedb2c sites list --debug
undefinedMore Commands
更多命令
See for a full list of available commands and options in the topic.
b2c sites --helpsites查看以获取主题下的所有可用命令和选项的完整列表。
b2c sites --helpsites