@salesforce/plugin-templates
Version:
Commands to create metadata from a default or custom template
18 lines (9 loc) • 669 B
Markdown
Generate a simple Analytics template.
The metadata files associated with the Analytics template must be contained in a parent directory called "waveTemplates" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.
Name of the Analytics template.
- Generate the metadata files for a simple Analytics template file called myTemplate in the force-app/main/default/waveTemplates directory:
<%= config.bin %> <%= command.id %> --name myTemplate --output-dir force-app/main/default/waveTemplates