@salesforce/plugin-templates
Version:
Commands to create metadata from a default or custom template
44 lines (22 loc) • 1.15 kB
Markdown
Directory for saving the created files.
The location can be an absolute path or relative to the current working directory. The default is the current directory.
If you don’t specify an outputdir, we create a subfolder in your current working directory with the name of your bundle. For example, if the current working directory is force-app and your Lightning bundle is called myBundle, we create force-app/myBundle/ to store the files in the bundle.
Template to use for file creation.
Supplied parameter values or default values are filled into a copy of the template.
target dir = %s
Lightning bundles must have a parent folder named 'aura'.
Template %s not available for component type %s.
Lightning bundles must have a parent folder named 'lwc'.
Expected --template=foo to be one of:
Now that you’ve created a Salesforce DX project, what’s next?