@salesforce/plugin-templates
Version:
Commands to create metadata from a default or custom template
28 lines (14 loc) • 836 B
Markdown
Generate a Lightning %s.
Generates a Lightning %s bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.
Name of the generated Lightning %s.
The name can be up to 40 characters and must start with a letter.
Generate lightning bundles without creating a -meta.xml file.
Template to use for file creation.
Supplied parameter values or default values are filled into a copy of the template. For Lightning Web Components, if this flag isn't specified, the CLI command automatically selects the template based on the "defaultLwcLanguage" field in the DX project's "sfdx-project.json" file.