A Yeoman generator to create Saleforce Commerce Cloud components.
Install yo
and this module globally.
npm install -g yo generator-sfcc
Navigate to the directory you'd like to use for your project, then run yo cartridge-lib-module.
$ mkdir app_custom_myproject
$ cd app_custom_myproject
$ yo sfcc:cartridge app_custom_myproject
$ mkdir metadata
$ cd metadata
$ yo sfcc:metadata metadata
$ mkdir myproject
$ cd myproject
$ yo sfcc:project myproject