In this video, you will learn how to build a plugin for the new Salesforce Unified CLI. You will also learn how to integrate the plugin with an API endpoint, that generates zen quotes.
Creating your first unified CLI plugin – https://github.com/salesforcecli/cli/wiki/Get-Started-And-Create-Your-First-Plug-In
Announcing CLI Unification – https://developer.salesforce.com/blogs/2021/06/announcing-salesforce-cli-unification
TypeScript for Salesforce Developers – https://developer.salesforce.com/blogs/2022/03/how-to-use-typescript-with-salesforce-part-1
Features and Tools needed:
Salesforce CLI, Command Prompt or Terminal, VS Code, TypeScript
Timestamps:
00:00 Introduction
01:16 About Salesforce Unified CLI
03:00 Requirements walkthrough
04:09 Installing the required tools required
05:43 Creating the plugin
07:18 Project and code walkthrough
09:34 Creating a new command
10:29 Integrating with API endpoint
14:53 Updating the JSON output
16:21 Updating the help message
17:11 Closing remarks
Connect with Salesforce Developers:
Join the Community: www.salesforce.com/devcommunity
Website: https://developer.salesforce.com/
LinkedIn: https://linkedin.com/showcase/salesforce-developers
Twitter: https://twitter.com/salesforcedevs
Facebook: https://facebook.com/salesforcedevs/