cepgen generates a manifest.xml in a CSXS folder, based on the cep settings in your package.json. Setting the --debug flag will generate a .debug file in the root directory. Or in the relative folder specified by --dest.
One-off with npx:
npx klustre/cepgen [--debug][--dest][--init]
Installed globally:
npm i klustre/cepgen --global
cepgen [--debug][--dest][--init]
Installed locally:
npm i klustre/cepgen [--save-dev | --save]
npx cepgen [--debug][--dest][--init]
As npm script:
npm i klustre/cepgen [--save-dev | --save]
"scripts": {
"cep": "npx cepgen"
},Generates a .debug file in the root directory. The ports are read from the cep object.
Changes the destination folder. Path should be relative to the current working directory.
Adds an example cep config to package.json. Note that it will overwrite the existing cep config.
cepgen expects a cep object in your package.json with the following structure: