Force.com command-line tool : Force CLI and Salesforce DX

The Force CLI is an open source app, which is written in Go, it allows us to work with Force.com data directly from the command line.

Sometimes we might confuse Salesforce DX with Force CLI, which made its debut during the Salesforce For Developers Keynote 2016, as the two commond-line tools looks very similar, so it could be that Salesforce DX will be a updated version and finally replace the Force CLI.

So far, Salesforce DX is not available yet, but maybe you can try Force CLI first and prepare for Salesforce DX’s coming.

The usage of Force CLI is pretty simple, let’s get started.

Installation

Download

Download it from CLI Home Page or the Current Release Page, the file name will be “force” without any extension.

Setting permission

Chmod +x the file to make it runable.

Usage

Login and do a test soql query.

Command-line help

Differents from Salesforce DX

And the below command-line tools’s help of Salesforce DX may explain how differents between Salesforce DX and Force CLI.


Enjoy It!

Related Post

Salesforce Dev Tools for Chrome™ Salesforce Dev Tools for Chrome™ is a Chrome extension helping Force.com developers do the below things: ・Export definition of objects to Excel file. ・Show / Hide object API name on object detail page by 1 Click. ・Quick generate test data Apex Code for Force.com Unit Test. ・Quick access to new...

Post Tagged with , , , ,