Profile
@flxbl-io/sfp profile
@flxbl-io/sfp profileCommands to manage profiles in your project or org
@flxbl-io/sfp profile merge@flxbl-io/sfp profile reconcile@flxbl-io/sfp profile retrieve
@flxbl-io/sfp profile merge
@flxbl-io/sfp profile mergeMerge changes made in the profile directly in the org to the profile files in the local project
USAGE
$ @flxbl-io/sfp profile merge -o <value> [-f <value>] [-n <value>] [-m <value>] [-d] [--apiversion <value>]
[--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
FLAGS
-d, --delete set this flag to delete profile files that does not exist in the org.
-f, --folder=<value>... comma separated list of folders to scan for profiles. If ommited, the folders in the
packageDirectories configuration will be used.
-m, --metadata=<value>... comma separated list of metadata for which the permissions will be retrieved.
-n, --profilelist=<value>... comma separated list of profiles. If ommited, all the profiles found in the folder(s)
will be merged
-o, --targetorg=<value> (required) Username or alias of the target org.
--apiversion=<value> Override the api version used for api requests made by this command
--loglevel=<option> [default: info] logging level for this command invocation
<options: trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL>
DESCRIPTION
Merge changes made in the profile directly in the org to the profile files in the local project
EXAMPLES
$ sfp profile:merge -o sandbox
$ sfp profile:merge -f force-app -n "My Profile" -u sandbox
$ sfp profile:merge -f "module1, module2, module3" -n "My Profile1, My profile2" -u sandboxSee code: src/commands/profile/merge.ts
@flxbl-io/sfp profile reconcile
@flxbl-io/sfp profile reconcileReconcile profiles in the local directory only with the attributes that are available in the target org
See code: src/commands/profile/reconcile.ts
@flxbl-io/sfp profile retrieve
@flxbl-io/sfp profile retrieveRetrieve profiles from the salesforce org with all its associated permissions. Common use case for this command is to migrate profile changes from a integration environment to other higher environments [overcomes SFDX CLI Profile retrieve issue where it doesnt fetch the full profile unless the entire metadata is present in source], or retrieving profiles from production to lower environments for testing.
See code: src/commands/profile/retrieve.ts
Last updated