Atlas is a one-stop shop documentation toolkit for your Salesforce project. It uses all the information stored in your Salesforce metadata files and outputs all that information in a structured, user-readable form, in multiple formats.
-
Install Node in your system. In case of doubt, go with the LTS installation.
-
Install the Salesforce CLI using
npm
:npm install --global @salesforce/cli
-
Install Atlas as a Salesforce CLI plugin:
sf plugins install plugin-atlas
-
Update the Salesforce CLI. It is the same command as installing it from scratch:
npm install --global @salesforce/cli
-
Update all the Salesforce CLI plugins:
sf plugins update
If the update fails, you can uninstall the plugin with sf plugins uninstall plugin-atlas
and then reinstall it.
Currently supported output format:
- Excel spreadsheet (
xlsx
), with each metadata type (objects, fields, list views, etc) in separate tabs.
Currently supported metadata types:
- Objects
- Fields
- Record types
- Fieldsets
- Layouts
- List views
- Compact layouts
- Tabs
- Quick actions
- Validation rules
- Weblinks
- Flexipages (Lightning pages)
- Apex classes and triggers
- Visualforce pages and components
- Aura components
- Lightning web components
- Flows
- Workflow rules
- Profiles
- Roles
- Permission Sets
- Permission Set Groups
- User Access Policies
- Additional output formats:
- Multiple spreadsheets
- Multiple CSV files
- Markdown websites
- HTML websites
- Enhance existing functionality:
- Increase the number of metadata types included in the output
- Make more information available for existing types
- Quality of life improvements:
- Choose the target file name and location
- Select which metadata types should be included
- Increase test coverage
- Set up an automated release pipeline
- Continue to maintain
Generate CSV files from the contents of your local project, with a separate file for each supported metadata type.
USAGE
$ sf atlas generate csv [--json] [-d <value>]
FLAGS
-d, --output-dir=<value> [default: PROJECT_FOLDER/atlas/csv/YYYYMMDD-HHMMSS/] Folder where the CSV files will be
saved.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Generate CSV files from the contents of your local project, with a separate file for each supported metadata type.
You must run this command from within a project.
EXAMPLES
$ sf atlas generate csv
FLAG DESCRIPTIONS
-d, --output-dir=<value> Folder where the CSV files will be saved.
More information about a flag. Don't repeat the summary.
Generate an XLSX spreadsheet from the contents of your local project, with a sheet for each supported metadata type.
USAGE
$ sf atlas generate xlsx [--json] [-f <value>]
FLAGS
-f, --output-file=<value> [default: PROJECT_FOLDER/atlas/xlsx/atlas-YYYYMMDD-HHMMSS.xlsx] Name and path of the XLSX
file to be generated.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Generate an XLSX spreadsheet from the contents of your local project, with a sheet for each supported metadata type.
You must run this command from within a project.
EXAMPLES
$ sf atlas generate xlsx
FLAG DESCRIPTIONS
-f, --output-file=<value> Name and path of the XLSX file to be generated.
More information about a flag. Don't repeat the summary.