With this simple script you can export in an excel file all the active properties of a Salesforce Commerce Cloud (SFCC) project.
- First install the program:
go install github.com/giacomozanatta/sfcc-properties@latest
- Navigate in the main folder of your project
- Create a file named config.json. This json is compose of two attributes:
- cartridges: [string]: you must insert all active cartridge, in reverse cartrdige path order (from the less important to the most one)
- locales: [string] insert all locales you have in the properties files
- Launch the program with
sfcc-properties
- The program will produce a properties.xlsx file in the main folder of your project.