Skip to content

This repository contains a comprehensive cheatsheet for frequently used Salesforce CLI (v2) commands. It is designed to help Salesforce developers and administrators quickly reference commands for common tasks like logging into orgs, retrieving metadata, deploying changes, running Apex code, and managing scratch orgs.

Notifications You must be signed in to change notification settings

samlopez-dev/Salesforce-CLI-v2-Commands-CheatSheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Salesforce CLI v2 Cheatsheet

This repository contains a comprehensive cheatsheet for frequently used Salesforce CLI (v2) commands. It is designed to help Salesforce developers and administrators quickly reference commands for common tasks like logging into orgs, retrieving metadata, deploying changes, running Apex code, and managing scratch orgs.

Features:

  • Log in and set aliases for different Salesforce orgs (Sandbox, Production, and DevHub)
  • Retrieve and deploy metadata including:
    • Apex classes
    • Validation rules
    • Workflow rules
    • Custom fields
  • Run anonymous Apex and Apex tests
  • Manage Salesforce org connections:
    • List connected orgs
    • Logout from orgs
    • Set default orgs
  • Scratch org management commands
  • Search and help commands to quickly find available commands and metadata types

This cheatsheet is ideal for both beginners and experienced Salesforce users who want to streamline their workflow using the Salesforce CLI.

About

This repository contains a comprehensive cheatsheet for frequently used Salesforce CLI (v2) commands. It is designed to help Salesforce developers and administrators quickly reference commands for common tasks like logging into orgs, retrieving metadata, deploying changes, running Apex code, and managing scratch orgs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published