@salesforce/plugin-templates
Version:
Commands to create metadata from a default or custom template
44 lines (22 loc) • 1.44 kB
Markdown
# flags.outputdir.summary
Directory for saving the created files.
# flags.outputdir.description
The location can be an absolute path or relative to the current working directory. The default is the current directory.
# flags.outputdirLighting.description
If you don’t specify an output-dir, 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.
# flags.template.summary
Template to use for file creation.
# flags.template.description
Supplied parameter values or default values are filled into a copy of the template.
# TargetDirOutput
target dir = %s
# MissingAuraFolder
Lightning bundles must have a parent folder named 'aura'.
# MissingLightningComponentTemplate
Template %s not available for component type %s.
# MissingLWCFolder
Lightning bundles must have a parent folder named 'lwc'.
# InvalidTemplate
Expected --template=foo to be one of:
# StandardReadMe
Salesforce DX is a development approach that brings source-driven development, team collaboration, and continuous integration to the Salesforce Platform. Instead of working directly in an org through a web browser, you work with metadata as source files in a local DX project, track changes in version control, and deploy through automated processes.