-
Notifications
You must be signed in to change notification settings - Fork 25
Design Guidelines Topics
Matt Graham edited this page Apr 28, 2023
·
1 revision
The top level topic is a collection or “bucket” of commands within Salesforce CLI. Topics are nouns that focus on a single Salesforce product, concept, or feature. We recommend you use the most specific noun possible to cover the anticipated scope of your plugin, although it's not required.
- Topics are Nouns.
- Be specific. Topic name should be unique and concise. Topics are often a company or product name.
- Avoid acronyms unless they're commonly-known industry-standard terms.
- Hyphenate the topic (no camel case or spaces).
- Use the singular version of the topic as the default when possible.
- When both singular and plural topics are needed or helpful, add the plural as an alias.
- Topic and command names are lowercase.
-
apex
[Salesforce Feature] -
lightning
[Salesforce Feature] -
org
[Salesforce Feature and common Salesforce term] -
project
[Salesforce Feature and common Salesforce term] -
slack
[Salesforce Product] -
heroku
[Salesforce Product]
-
cmdt
[Salesforce Feature]- cmdt is an exception, because while it's not an industry-standard acronym, the Salesforce Community recognizes it as an acronym for Custom Metadata Type.
-
tsm
(Tableau Service Manager)- tsm is not an non-industry standard acronym. It doesn't rise to the level of a Salesforce Community recognized term or acronym so as to be an exception.
-
analytics
- Analytics is too generic and will overlap with other analytics services on the Salesforce platform. A better example would be
crm-analytics
, which specific.
- Analytics is too generic and will overlap with other analytics services on the Salesforce platform. A better example would be
-
scanner
- “Scan” refers to a broad set of actions in the software industry and isn't specific enough for a top-level command topic.
- A better example is
code-analyzer
which references the Salesforce product name.
© Copyright 2024 Salesforce.com, inc. All rights reserved. Various trademarks held by their respective owners.
- Quick Intro to Developing sf Plugins
- Get Started: Create Your First Plugin
- Design Guidelines
- Code Your Plugin
- Debug Your Plugin
- Write Useful Messages
- Test Your Plugin
- Maintain Your Plugin
- Integrate Your Plugin With the Doctor Command
- Migrate Plugins Built for sfdx
- Conceptual Overview of Salesforce CLI