This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sfdx force:org:open --path one/one.app | |
Access org 00D0S0000008bqMUAQ as user [email protected] with the following URL: https://platform-business-5722-dev-ed.cs54.my.salesforce.com/secur/frontdoor.jsp?sid=00D0S0000008bqM!AQ8AQMtROZ2B9e2GAcYwRb2UUVRcpuRVf1KovkPsnadYbcGbkN9D8BY.Um6.YnQ.2E7JK182M9LWvBwQAD.xxxxxxxx&retURL=one%2Fone.app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sfdx force:apex:test:run | |
Run "sfdx force:apex:test:report -i 7070S00000F6573" to retrieve test results. | |
$ sfdx force:apex:test:report -i 7070S00000F6573 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sfdx force:source:push | |
STATE FULL NAME TYPE PROJECT PATH | |
───── ─────────────────── ───────── ─────────────────────────────────────────────────────────────── | |
Add DemoController ApexClass force-app/main/default/classes/DemoController.cls-meta.xml | |
Add DemoController ApexClass force-app/main/default/classes/DemoController.cls | |
Add DemoPage ApexPage force-app/main/default/pages/DemoPage.page-meta.xml | |
Add DemoPage ApexPage force-app/main/default/pages/DemoPage.page | |
Add DemoControllerTests ApexClass force-app/test/default/classes/DemoControllerTests.cls-meta.xml | |
Add DemoControllerTests ApexClass force-app/test/default/classes/DemoControllerTests.cls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sfdx force:org:create -s -f config/project-scratch-def.json | |
Successfully created scratch org: 00D3D0000008zXdUAI, username: [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd sfdx-simple | |
$ sfdx force:auth:web:login -d -a "Hub Org" | |
Successfully authorized [email protected] with org ID 00D7F000002DY6mUAG | |
You may now close the browser |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone https://github.com/forcedotcom/sfdx-simple.git | |
Cloning into 'sfdx-simple'... | |
remote: Counting objects: 418, done. | |
remote: Total 418 (delta 0), reused 0 (delta 0), pack-reused 418 | |
Receiving objects: 100% (418/418), 61.19 KiB | 24.00 KiB/s, done. | |
Resolving deltas: 100% (176/176), done. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sfdx force --help | |
Usage: sfdx force: [-v] [--json] [--loglevel <string>] [flags] | |
Flags: | |
-v, --version display the Salesforce API version | |
--json format output as json | |
--loglevel LOGLEVEL logging level for this command invocation | |
(error*,trace,debug,info,warn,fatal) | |
Usage: sfdx force:COMMAND |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sfdx update | |
sfdx-cli: Updating salesforcedx@ to 41.4.1... done | |
sfdx-cli: Updating CLI... already on latest version: 6.0.10-3713d7b | |
sfdx-cli: Updating plugins... done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<String> sampleList = new List<String>{ | |
'value1', 'value2', 'value3' | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<String> sampleList = new List<String>(); | |
sampleMap.add('value1'); | |
sampleMap.put('value2'); | |
sampleMap.put('value3'); |