Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.38 KB

File metadata and controls

45 lines (31 loc) · 1.38 KB

CLI Reference

The b2c CLI provides commands for managing Salesforce B2C Commerce instances.

Global Flags

These flags are available on all commands that interact with B2C instances:

Instance Flags

Flag Short Environment Variable Description
--server -s SFCC_SERVER B2C instance hostname
--webdav-server SFCC_WEBDAV_SERVER Separate WebDAV hostname (if different)
--code-version -v SFCC_CODE_VERSION Code version

Authentication Flags

Flag Short Environment Variable Description
--client-id SFCC_CLIENT_ID OAuth client ID
--client-secret SFCC_CLIENT_SECRET OAuth client secret
--username -u SFCC_USERNAME Username for Basic Auth
--password -p SFCC_PASSWORD Password/access key for Basic Auth

Command Topics

Configuration

  • Logging - Log levels, output formats, and environment variables

Getting Help

Get help for any command:

b2c --help
b2c code --help
b2c code deploy --help