Salesforce CLI Plug-In Developer Guide

Discover how to develop your own plug-ins for Salesforce CLI. Explore the Salesforce CLI architecture. Learn how to generate a plug-in using Salesforce Plug-In Generator, use Salesforce’s libraries to add functionality to your plug-in, and debug issues. Learn about our suggested style guidelines for naming and messages and our recommended best practices for plug-ins.

We retired the Salesforce CLI Plug-in Developer Guide because it refers to npm packages, libraries, and tools that are deprecated. See the sf Plugin Developer Guide for current information about creating a custom Salesforce CLI plugin that works in both sfdx and sf.

Warning