-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #588 from amtrack/refactor/sf-plugin-style
- Loading branch information
Showing
69 changed files
with
2,537 additions
and
2,722 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
[![Actions Status](https://github.com/amtrack/sfdx-browserforce-plugin/workflows/Test%20and%20Release/badge.svg)](https://github.com/amtrack/sfdx-browserforce-plugin/actions) | ||
|
||
Unlike the [Scratch Org Definition Configuration](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_def_file.htm) which can only be used **on the creation of a scratch org** (`sfdx force:org:create -f config/scratch-def.json`), | ||
the _Browserforce Configuration_ allows to "shape" **any org**, (e.g. scratch org, sandbox or production org) with **similar preferences and unofficial preferences** that are not (yet) available in the _Scratch Org Definition Configuration_ or as _Metadata_ (`sf browserforce:apply -f config/setup-admin-login-as-any.json -u [email protected]`). | ||
the _Browserforce Configuration_ allows to "shape" **any org**, (e.g. scratch org, sandbox or production org) with **similar preferences and unofficial preferences** that are not (yet) available in the _Scratch Org Definition Configuration_ or as _Metadata_ (`sf browserforce apply -f config/setup-admin-login-as-any.json -u [email protected]`). | ||
|
||
Further benefits: | ||
|
||
|
@@ -49,14 +49,14 @@ $ sfdx-browserforce browserforce -h | |
browser automation | ||
|
||
USAGE | ||
$ sfdx-browserforce-plugin browserforce:COMMAND | ||
$ sfdx-browserforce-plugin browserforce COMMAND | ||
|
||
COMMANDS | ||
browserforce:apply apply a plan from a definition file | ||
browserforce:plan retrieve state and generate plan file | ||
browserforce apply apply a plan from a definition file | ||
browserforce plan retrieve state and generate plan file | ||
``` | ||
|
||
Both the `browserforce:apply` and `browserforce:plan` commands expect a config file and a target username or alias for the org. | ||
Both the `browserforce apply` and `browserforce plan` commands expect a config file and a target username or alias for the org. | ||
|
||
# Example | ||
|
||
|
@@ -80,7 +80,7 @@ Tip: If you use _Visual Studio Code_, you can leverage tab completion to build t | |
Next apply the config: | ||
|
||
```console | ||
$ sf browserforce:apply -f ./config/setup-admin-login-as-any.json --targetusername [email protected] | ||
$ sf browserforce apply -f ./config/setup-admin-login-as-any.json --target-org [email protected] | ||
logging in... done | ||
Applying definition file ./config/setup-admin-login-as-any.json to org [email protected] | ||
[Security] retrieving state... done | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const salesforcePrettierConfig = require('@salesforce/prettier-config'); | ||
|
||
module.exports = { | ||
...salesforcePrettierConfig, | ||
trailingComma: 'none' | ||
}; |
This file contains 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
Oops, something went wrong.