texei:skinnyprofile:retrieve
Description
This command will retrieve Profiles, and keep only what can't be on a Permission Set. All other reference to metadata will be removed. Only access to what's in your project will be listed in the Profile metadata.
The command:
- list all Profiles in local project
- look at Page Layouts, Record Types and Custom Applications in your local project
- will retrieve listed Profiles with access rights for metadata from the previous step
- will keep access for Page Layouts, default Record Types and Default custom application
- will remove everything that should be on a Permission Set(Field Level Security, Apex Classes access, Tab visibilities, etc...)
- save the Profiles locally
Parameters
Name | Type | Description | Default | Required | Options |
---|---|---|---|---|---|
api-version | option | Override the api version used for api requests made by this command | |||
flags-dir | option | undefined | |||
json | boolean | Format output as json. | |||
loglevel | option | undefined | |||
target-org -o |
option | undefined | |||
timeout -t |
option | undefined |
Examples
sf texei skinnyprofile retrieve --target-org MyScratchOrg