Salesforce B2C CLI Command Builder

•
4
•

Streamlines the creation and organization of custom CLI commands and topics for the Salesforce B2C Commerce DX toolset using oclif.

This skill provides a comprehensive framework for extending the Salesforce Agentforce Commerce B2C CLI. It guides developers through the oclif-based directory structure and class hierarchies, offering specialized base classes for OAuth authentication, instance management, and specific commerce tasks like WebDAV or Managed Runtime API interactions. By leveraging this skill, developers ensure consistent implementation of internationalization (i18n), error handling, tabular output, and JSON support across the B2C developer ecosystem.

主要功能

014 GitHub stars
02Built-in validation methods for servers, credentials, and code versions
03Consistent UI components for tabular data rendering and error messaging
04Integrated internationalization (i18n) support for multi-language command strings
05Pre-configured, lazy-loaded clients for OCAPI, WebDAV, ODS, and MRT APIs
06Standardized command class hierarchy for authentication and instance management

使用场景

01Extending the B2C CLI with new subtopics for specialized team workflows
02Standardizing API interactions with OCAPI and WebDAV within local developer tools
03Creating custom automation commands for Salesforce B2C Commerce Cloud deployments