@salesforce/plugin-templates 55.3.1 → 55.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/LICENSE.txt +1 -1
  2. package/lib/commands/analytics/generate/template.d.ts +16 -0
  3. package/lib/commands/analytics/generate/template.js +53 -0
  4. package/lib/commands/analytics/generate/template.js.map +1 -0
  5. package/lib/commands/apex/generate/class.d.ts +17 -0
  6. package/lib/commands/apex/generate/class.js +65 -0
  7. package/lib/commands/apex/generate/class.js.map +1 -0
  8. package/lib/commands/apex/generate/trigger.d.ts +19 -0
  9. package/lib/commands/apex/generate/trigger.js +86 -0
  10. package/lib/commands/apex/generate/trigger.js.map +1 -0
  11. package/lib/commands/lightning/generate/app.d.ts +18 -0
  12. package/lib/commands/lightning/generate/app.js +68 -0
  13. package/lib/commands/lightning/generate/app.js.map +1 -0
  14. package/lib/commands/lightning/generate/component.d.ts +19 -0
  15. package/lib/commands/lightning/generate/component.js +75 -0
  16. package/lib/commands/lightning/generate/component.js.map +1 -0
  17. package/lib/commands/lightning/generate/event.d.ts +18 -0
  18. package/lib/commands/lightning/generate/event.js +68 -0
  19. package/lib/commands/lightning/generate/event.js.map +1 -0
  20. package/lib/commands/lightning/generate/interface.d.ts +18 -0
  21. package/lib/commands/lightning/generate/interface.js +68 -0
  22. package/lib/commands/lightning/generate/interface.js.map +1 -0
  23. package/lib/commands/lightning/generate/test.d.ts +18 -0
  24. package/lib/commands/lightning/generate/test.js +68 -0
  25. package/lib/commands/lightning/generate/test.js.map +1 -0
  26. package/lib/commands/project/generate.d.ts +20 -0
  27. package/lib/commands/project/generate.js +93 -0
  28. package/lib/commands/project/generate.js.map +1 -0
  29. package/lib/commands/static-resource/generate.d.ts +17 -0
  30. package/lib/commands/static-resource/generate.js +64 -0
  31. package/lib/commands/static-resource/generate.js.map +1 -0
  32. package/lib/commands/visualforce/generate/component.d.ts +18 -0
  33. package/lib/commands/visualforce/generate/component.js +73 -0
  34. package/lib/commands/visualforce/generate/component.js.map +1 -0
  35. package/lib/commands/visualforce/generate/page.d.ts +18 -0
  36. package/lib/commands/visualforce/generate/page.js +75 -0
  37. package/lib/commands/visualforce/generate/page.js.map +1 -0
  38. package/lib/tsconfig.tsbuildinfo +1 -0
  39. package/lib/utils/flags.d.ts +3 -0
  40. package/lib/utils/flags.js +36 -0
  41. package/lib/utils/flags.js.map +1 -0
  42. package/lib/utils/templateCommand.d.ts +58 -14
  43. package/lib/utils/templateCommand.js +42 -82
  44. package/lib/utils/templateCommand.js.map +1 -1
  45. package/messages/analyticsTemplate.md +17 -0
  46. package/messages/apexClass.md +25 -0
  47. package/messages/apexTrigger.md +40 -0
  48. package/messages/lightning.md +27 -0
  49. package/messages/lightningApp.md +9 -0
  50. package/messages/lightningCmp.md +31 -0
  51. package/messages/lightningEvent.md +9 -0
  52. package/messages/lightningInterface.md +9 -0
  53. package/messages/lightningTest.md +21 -0
  54. package/messages/messages.md +43 -0
  55. package/messages/project.md +87 -0
  56. package/messages/staticResource.md +37 -0
  57. package/messages/vf.md +39 -0
  58. package/oclif.manifest.json +1190 -1
  59. package/package.json +173 -96
  60. package/lib/commands/force/analytics/template/create.d.ts +0 -15
  61. package/lib/commands/force/analytics/template/create.js +0 -42
  62. package/lib/commands/force/analytics/template/create.js.map +0 -1
  63. package/lib/commands/force/apex/class/create.d.ts +0 -16
  64. package/lib/commands/force/apex/class/create.js +0 -52
  65. package/lib/commands/force/apex/class/create.js.map +0 -1
  66. package/lib/commands/force/apex/trigger/create.d.ts +0 -18
  67. package/lib/commands/force/apex/trigger/create.js +0 -74
  68. package/lib/commands/force/apex/trigger/create.js.map +0 -1
  69. package/lib/commands/force/lightning/app/create.d.ts +0 -17
  70. package/lib/commands/force/lightning/app/create.js +0 -58
  71. package/lib/commands/force/lightning/app/create.js.map +0 -1
  72. package/lib/commands/force/lightning/component/create.d.ts +0 -18
  73. package/lib/commands/force/lightning/component/create.js +0 -67
  74. package/lib/commands/force/lightning/component/create.js.map +0 -1
  75. package/lib/commands/force/lightning/event/create.d.ts +0 -17
  76. package/lib/commands/force/lightning/event/create.js +0 -58
  77. package/lib/commands/force/lightning/event/create.js.map +0 -1
  78. package/lib/commands/force/lightning/interface/create.d.ts +0 -17
  79. package/lib/commands/force/lightning/interface/create.js +0 -58
  80. package/lib/commands/force/lightning/interface/create.js.map +0 -1
  81. package/lib/commands/force/lightning/test/create.d.ts +0 -16
  82. package/lib/commands/force/lightning/test/create.js +0 -56
  83. package/lib/commands/force/lightning/test/create.js.map +0 -1
  84. package/lib/commands/force/project/create.d.ts +0 -19
  85. package/lib/commands/force/project/create.js +0 -78
  86. package/lib/commands/force/project/create.js.map +0 -1
  87. package/lib/commands/force/staticresource/create.d.ts +0 -16
  88. package/lib/commands/force/staticresource/create.js +0 -49
  89. package/lib/commands/force/staticresource/create.js.map +0 -1
  90. package/lib/commands/force/visualforce/component/create.d.ts +0 -17
  91. package/lib/commands/force/visualforce/component/create.js +0 -59
  92. package/lib/commands/force/visualforce/component/create.js.map +0 -1
  93. package/lib/commands/force/visualforce/page/create.d.ts +0 -17
  94. package/lib/commands/force/visualforce/page/create.js +0 -59
  95. package/lib/commands/force/visualforce/page/create.js.map +0 -1
  96. package/lib/utils/index.d.ts +0 -2
  97. package/lib/utils/index.js +0 -14
  98. package/lib/utils/index.js.map +0 -1
  99. package/lib/utils/messageUtil.d.ts +0 -33
  100. package/lib/utils/messageUtil.js +0 -59
  101. package/lib/utils/messageUtil.js.map +0 -1
  102. package/messages/messages.json +0 -87
  103. package/yarn.lock +0 -9362
@@ -1 +1,1190 @@
1
- {"version":"55.3.1","commands":{"force:project:create":{"id":"force:project:create","description":"create a Salesforce DX project\nIf not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\n","strict":true,"usage":"<%= command.id %> -n <string> [-t <string>] [-d <string>] [-s <string>] [-p <string>] [-x] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-templates","pluginAlias":"@salesforce/plugin-templates","pluginType":"core","aliases":[],"examples":["$ sfdx force:project:create --projectname mywork","$ sfdx force:project:create --projectname mywork --defaultpackagedir myapp","$ sfdx force:project:create --projectname mywork --defaultpackagedir myapp --manifest","$ sfdx force:project:create --projectname mywork --template empty"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"projectname":{"name":"projectname","type":"option","char":"n","description":"name of the generated project","required":true,"multiple":false},"template":{"name":"template","type":"option","char":"t","description":"template to use for project creation","multiple":false,"options":["standard","empty","analytics"],"default":"standard"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","multiple":false,"default":"."},"namespace":{"name":"namespace","type":"option","char":"s","description":"project associated namespace","multiple":false,"default":""},"defaultpackagedir":{"name":"defaultpackagedir","type":"option","char":"p","description":"default package directory name","multiple":false,"default":"force-app"},"manifest":{"name":"manifest","type":"boolean","char":"x","description":"generate a manifest (package.xml) for change-set based development","allowNo":false},"loginurl":{"name":"loginurl","type":"option","char":"l","description":"Salesforce instance login URL","hidden":true,"multiple":false,"default":"https://login.salesforce.com"}},"args":[],"help":"If not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\n\nExamples:\n $ sfdx force:project:create --projectname mywork\n $ sfdx force:project:create --projectname mywork --defaultpackagedir myapp\n $ sfdx force:project:create --projectname mywork --defaultpackagedir myapp --manifest\n $ sfdx force:project:create --projectname mywork --template empty\n","longDescription":"Creates a Salesforce DX project in the specified directory or the current working directory. The command creates the necessary configuration files and folders.","flagsConfig":{"projectname":{"kind":"string","char":"n","description":"name of the generated project","longDescription":"The name for the new project. Any valid folder name is accepted.","required":true,"input":[],"multiple":false,"type":"option"},"template":{"kind":"string","char":"t","description":"template to use for project creation","longDescription":"The template to use to create the project. Supplied parameter values or default values are filled into a copy of the template.","default":"standard","options":["standard","empty","analytics"],"input":[],"multiple":false,"type":"option"},"outputdir":{"kind":"string","char":"d","description":"folder for saving the created files","longDescription":"The directory to store the newly created files. The location can be an absolute path or relative to the current working directory. The default is the current directory.","default":".","input":[],"multiple":false,"type":"option"},"namespace":{"kind":"string","char":"s","description":"project associated namespace","longDescription":"The namespace associated with this project and any connected scratch orgs.","default":"","input":[],"multiple":false,"type":"option"},"defaultpackagedir":{"kind":"string","char":"p","description":"default package directory name","longDescription":"The default package directory name. Metadata items such as classes and Lightning bundles are placed inside this folder.","default":"force-app","input":[],"multiple":false,"type":"option"},"manifest":{"kind":"boolean","char":"x","description":"generate a manifest (package.xml) for change-set based development","longDescription":"Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.","allowNo":false,"type":"boolean"},"loginurl":{"kind":"string","char":"l","description":"Salesforce instance login URL","longDescription":"The login URL for the Salesforce instance being used. Normally defaults to https://login.salesforce.com.","default":"https://login.salesforce.com","hidden":true,"input":[],"multiple":false,"type":"option"}}},"force:staticresource:create":{"id":"force:staticresource:create","description":"create a static resource\nIf not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\n","strict":true,"usage":"<%= command.id %> -n <string> [--contenttype <string>] [-d <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-templates","pluginAlias":"@salesforce/plugin-templates","pluginType":"core","aliases":[],"examples":["$ sfdx force:staticresource:create -n MyResource","$ sfdx force:staticresource:create -n MyResource --contenttype application/json","$ sfdx force:staticresource:create -n MyResource -d staticresources"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"resourcename":{"name":"resourcename","type":"option","char":"n","description":"name of the generated static resource","required":true,"multiple":false},"contenttype":{"name":"contenttype","type":"option","description":"content type (mime type) of the generated static resource","multiple":false,"default":"application/zip"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","multiple":false,"default":"."},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false}},"args":[],"help":"If not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\n\nExamples:\n $ sfdx force:staticresource:create -n MyResource\n $ sfdx force:staticresource:create -n MyResource --contenttype application/json\n $ sfdx force:staticresource:create -n MyResource -d staticresources\n","longDescription":"Creates a static resource in the specified directory or the current working directory. The resource folder and associated metadata file are created.","flagsConfig":{"resourcename":{"kind":"string","char":"n","description":"name of the generated static resource","longDescription":"The name of the new static resource. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.","required":true,"input":[],"multiple":false,"type":"option"},"contenttype":{"kind":"string","description":"content type (mime type) of the generated static resource","longDescription":"The content type of the generated static resource. This must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc.","default":"application/zip","input":[],"multiple":false,"type":"option"},"outputdir":{"kind":"string","char":"d","description":"folder for saving the created files","longDescription":"The directory to store the newly created files. The location can be an absolute path or relative to the current working directory. The default is the current directory.","default":".","input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false}}},"force:analytics:template:create":{"id":"force:analytics:template:create","description":"add an Analytics template to your workspace\nIf not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\n","strict":true,"usage":"<%= command.id %> -n <string> [-d <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-templates","pluginAlias":"@salesforce/plugin-templates","pluginType":"core","aliases":[],"examples":["$ sfdx force:analytics:template:create -n myTemplate -d outputdir"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","multiple":false,"default":"."},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"templatename":{"name":"templatename","type":"option","char":"n","description":"name of the Analytics template","required":true,"multiple":false}},"args":[],"help":"If not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\n\nExamples:\n $ sfdx force:analytics:template:create -n myTemplate -d outputdir\n","longDescription":"Creates a simple Analytics template in the specified directory. If you don’t explicitly set the API version, it defaults to the current API version. The associated metadata files are created.","flagsConfig":{"outputdir":{"kind":"string","char":"d","description":"folder for saving the created files","longDescription":"The directory to store the newly created files. The location can be an absolute path or relative to the current working directory. The default is the current directory.","default":".","input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false},"templatename":{"kind":"string","char":"n","description":"name of the Analytics template","longDescription":"The name of the Analytics template.","required":true,"input":[],"multiple":false,"type":"option"}}},"force:apex:class:create":{"id":"force:apex:class:create","description":"create an Apex class\nIf not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\n","strict":true,"usage":"<%= command.id %> -n <string> [-t <string>] [-d <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-templates","pluginAlias":"@salesforce/plugin-templates","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:class:create -n MyClass","$ sfdx force:apex:class:create -n MyClass -d classes"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"classname":{"name":"classname","type":"option","char":"n","description":"name of the generated Apex class","required":true,"multiple":false},"template":{"name":"template","type":"option","char":"t","description":"template to use for file creation","multiple":false,"options":["ApexException","ApexUnitTest","DefaultApexClass","InboundEmailService"],"default":"DefaultApexClass"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","multiple":false,"default":"."},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false}},"args":[],"help":"If not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\n\nExamples:\n $ sfdx force:apex:class:create -n MyClass\n $ sfdx force:apex:class:create -n MyClass -d classes\n","longDescription":"Creates an Apex class in the specified directory or the current working directory. If you don’t explicitly set the API version, it defaults to the current API version. The .cls file and associated metadata file are created.","flagsConfig":{"classname":{"kind":"string","char":"n","description":"name of the generated Apex class","longDescription":"The name of the new Apex class. The name can be up to 40 characters and must start with a letter.","required":true,"input":[],"multiple":false,"type":"option"},"template":{"kind":"string","char":"t","description":"template to use for file creation","longDescription":"The template to use to create the file. Supplied parameter values or default values are filled into a copy of the template.","default":"DefaultApexClass","options":["ApexException","ApexUnitTest","DefaultApexClass","InboundEmailService"],"input":[],"multiple":false,"type":"option"},"outputdir":{"kind":"string","char":"d","description":"folder for saving the created files","longDescription":"The directory to store the newly created files. The location can be an absolute path or relative to the current working directory. The default is the current directory.","default":".","input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false}}},"force:apex:trigger:create":{"id":"force:apex:trigger:create","description":"create an Apex trigger\nIf not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\n","strict":true,"usage":"<%= command.id %> -n <string> [-t <string>] [-d <string>] [-s <string>] [-e <array>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-templates","pluginAlias":"@salesforce/plugin-templates","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:trigger:create -n MyTrigger","$ sfdx force:apex:trigger:create -n MyTrigger -s Account -e 'before insert,after insert'","$ sfdx force:apex:trigger:create -n MyTrigger -d triggers"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"triggername":{"name":"triggername","type":"option","char":"n","description":"name of the generated Apex trigger","required":true,"multiple":false},"template":{"name":"template","type":"option","char":"t","description":"template to use for file creation","multiple":false,"options":["ApexTrigger"],"default":"ApexTrigger"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","multiple":false,"default":"."},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"sobject":{"name":"sobject","type":"option","char":"s","description":"sObject to create a trigger on","multiple":false,"default":"SOBJECT"},"triggerevents":{"name":"triggerevents","type":"option","char":"e","description":"events that fire the trigger","multiple":false,"default":["before insert"]}},"args":[],"help":"If not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\n\nExamples:\n $ sfdx force:apex:trigger:create -n MyTrigger\n $ sfdx force:apex:trigger:create -n MyTrigger -s Account -e 'before insert,after insert'\n $ sfdx force:apex:trigger:create -n MyTrigger -d triggers\n","longDescription":"Creates an Apex trigger in the specified directory or the current working directory. If you don’t explicitly set the API version, it defaults to the current API version. The .trigger file and associated metadata file are created.","flagsConfig":{"triggername":{"kind":"string","char":"n","description":"name of the generated Apex trigger","longDescription":"The name of the new Apex trigger. The name can be up to 40 characters and must start with a letter.","required":true,"input":[],"multiple":false,"type":"option"},"template":{"kind":"string","char":"t","description":"template to use for file creation","longDescription":"The template to use to create the file. Supplied parameter values or default values are filled into a copy of the template.","default":"ApexTrigger","options":["ApexTrigger"],"input":[],"multiple":false,"type":"option"},"outputdir":{"kind":"string","char":"d","description":"folder for saving the created files","longDescription":"The directory to store the newly created files. The location can be an absolute path or relative to the current working directory. The default is the current directory.","default":".","input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false},"sobject":{"kind":"string","char":"s","description":"sObject to create a trigger on","longDescription":"The sObject to create an Apex trigger on.","default":"SOBJECT","input":[],"multiple":false,"type":"option"},"triggerevents":{"kind":"array","char":"e","description":"events that fire the trigger","longDescription":"The events that cause the trigger to fire.","default":["before insert"],"input":[],"multiple":false,"type":"option"}}},"force:lightning:app:create":{"id":"force:lightning:app:create","description":"create a Lightning app\nIf not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\nIf 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.\n","strict":true,"usage":"<%= command.id %> -n <string> [-t <string>] [-d <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-templates","pluginAlias":"@salesforce/plugin-templates","pluginType":"core","aliases":[],"examples":["$ sfdx force:lightning:app:create -n myapp","$ sfdx force:lightning:app:create -n myapp -d aura"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"appname":{"name":"appname","type":"option","char":"n","description":"name of the generated Lightning app","required":true,"multiple":false},"template":{"name":"template","type":"option","char":"t","description":"template to use for file creation","multiple":false,"options":["DefaultLightningApp"],"default":"DefaultLightningApp"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","multiple":false,"default":"."},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"internal":{"name":"internal","type":"boolean","char":"i","description":"create lightning bundles without creating a -meta.xml file","hidden":true,"allowNo":false}},"args":[],"help":"If not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\nIf 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.\n\nExamples:\n $ sfdx force:lightning:app:create -n myapp\n $ sfdx force:lightning:app:create -n myapp -d aura\n","longDescription":"Creates a Lightning app bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.","flagsConfig":{"appname":{"kind":"string","char":"n","description":"name of the generated Lightning app","longDescription":"The Lightning app name. The name can be up to 40 characters and must start with a letter.","required":true,"input":[],"multiple":false,"type":"option"},"template":{"kind":"string","char":"t","description":"template to use for file creation","longDescription":"The template to use to create the file. Supplied parameter values or default values are filled into a copy of the template.","default":"DefaultLightningApp","options":["DefaultLightningApp"],"input":[],"multiple":false,"type":"option"},"outputdir":{"kind":"string","char":"d","description":"folder for saving the created files","longDescription":"The directory to store the newly created files. The location can be an absolute path or relative to the current working directory. The default is the current directory.","default":".","input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false},"internal":{"kind":"boolean","char":"i","description":"create lightning bundles without creating a -meta.xml file","hidden":true,"allowNo":false,"type":"boolean"}}},"force:lightning:component:create":{"id":"force:lightning:component:create","description":"create a bundle for an Aura component or a Lightning web component\nIf not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\nIf 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.\n\nTo create a Lightning web component, pass --type lwc to the command. If you don’t include a --type value, Salesforce CLI creates an Aura component by default.","strict":true,"usage":"<%= command.id %> -n <string> [-t <string>] [-d <string>] [--type <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-templates","pluginAlias":"@salesforce/plugin-templates","pluginType":"core","aliases":[],"examples":["$ sfdx force:lightning:component:create -n mycomponent","$ sfdx force:lightning:component:create -n mycomponent --type lwc","$ sfdx force:lightning:component:create -n mycomponent -d aura","$ sfdx force:lightning:component:create -n mycomponent --type lwc -d lwc"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"componentname":{"name":"componentname","type":"option","char":"n","description":"name of the generated Lightning component","required":true,"multiple":false},"template":{"name":"template","type":"option","char":"t","description":"template to use for file creation","multiple":false,"options":["default","analyticsDashboard","analyticsDashboardWithStep"],"default":"default"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","multiple":false,"default":"."},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"type":{"name":"type","type":"option","description":"type of the Lightning component","multiple":false,"options":["aura","lwc"],"default":"aura"},"internal":{"name":"internal","type":"boolean","char":"i","description":"create lightning bundles without creating a -meta.xml file","hidden":true,"allowNo":false}},"args":[],"help":"If not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\nIf 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.\n\nTo create a Lightning web component, pass --type lwc to the command. If you don’t include a --type value, Salesforce CLI creates an Aura component by default.\nExamples:\n $ sfdx force:lightning:component:create -n mycomponent\n $ sfdx force:lightning:component:create -n mycomponent --type lwc\n $ sfdx force:lightning:component:create -n mycomponent -d aura\n $ sfdx force:lightning:component:create -n mycomponent --type lwc -d lwc\n","longDescription":"Creates a bundle for an Aura component or a Lightning web component in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.","flagsConfig":{"componentname":{"kind":"string","char":"n","description":"name of the generated Lightning component","longDescription":"The Lightning component name. The name can be up to 40 characters and must start with a letter.","required":true,"input":[],"multiple":false,"type":"option"},"template":{"kind":"string","char":"t","description":"template to use for file creation","longDescription":"The template to use to create the file. Supplied parameter values or default values are filled into a copy of the template.","default":"default","options":["default","analyticsDashboard","analyticsDashboardWithStep"],"input":[],"multiple":false,"type":"option"},"outputdir":{"kind":"string","char":"d","description":"folder for saving the created files","longDescription":"The directory to store the newly created files. The location can be an absolute path or relative to the current working directory. The default is the current directory.","default":".","input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false},"type":{"kind":"string","description":"type of the Lightning component","longDescription":"The type of the new Lightning component.","options":["aura","lwc"],"default":"aura","input":[],"multiple":false,"type":"option"},"internal":{"kind":"boolean","char":"i","description":"create lightning bundles without creating a -meta.xml file","hidden":true,"allowNo":false,"type":"boolean"}}},"force:lightning:event:create":{"id":"force:lightning:event:create","description":"create a Lightning event\nIf not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\nIf 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.\n","strict":true,"usage":"<%= command.id %> -n <string> [-t <string>] [-d <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-templates","pluginAlias":"@salesforce/plugin-templates","pluginType":"core","aliases":[],"examples":["$ sfdx force:lightning:event:create -n myevent","$ sfdx force:lightning:event:create -n myevent -d aura"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"eventname":{"name":"eventname","type":"option","char":"n","description":"name of the generated Lightning event","required":true,"multiple":false},"template":{"name":"template","type":"option","char":"t","description":"template to use for file creation","multiple":false,"options":["DefaultLightningEvt"],"default":"DefaultLightningEvt"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","multiple":false,"default":"."},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"internal":{"name":"internal","type":"boolean","char":"i","description":"create lightning bundles without creating a -meta.xml file","hidden":true,"allowNo":false}},"args":[],"help":"If not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\nIf 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.\n\nExamples:\n $ sfdx force:lightning:event:create -n myevent\n $ sfdx force:lightning:event:create -n myevent -d aura\n","longDescription":"Creates a Lightning event bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.","flagsConfig":{"eventname":{"kind":"string","char":"n","description":"name of the generated Lightning event","longDescription":"The Lightning event name. The name can be up to 40 characters and must start with a letter.","required":true,"input":[],"multiple":false,"type":"option"},"template":{"kind":"string","char":"t","description":"template to use for file creation","longDescription":"The template to use to create the file. Supplied parameter values or default values are filled into a copy of the template.","default":"DefaultLightningEvt","options":["DefaultLightningEvt"],"input":[],"multiple":false,"type":"option"},"outputdir":{"kind":"string","char":"d","description":"folder for saving the created files","longDescription":"The directory to store the newly created files. The location can be an absolute path or relative to the current working directory. The default is the current directory.","default":".","input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false},"internal":{"kind":"boolean","char":"i","description":"create lightning bundles without creating a -meta.xml file","hidden":true,"allowNo":false,"type":"boolean"}}},"force:lightning:interface:create":{"id":"force:lightning:interface:create","description":"create a Lightning interface\nIf not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\nIf 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.\n","strict":true,"usage":"<%= command.id %> -n <string> [-t <string>] [-d <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-templates","pluginAlias":"@salesforce/plugin-templates","pluginType":"core","aliases":[],"examples":["$ sfdx force:lightning:interface:create -n myinterface","$ sfdx force:lightning:interface:create -n myinterface -d aura"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"interfacename":{"name":"interfacename","type":"option","char":"n","description":"name of the generated Lightning interface","required":true,"multiple":false},"template":{"name":"template","type":"option","char":"t","description":"template to use for file creation","multiple":false,"options":["DefaultLightningIntf"],"default":"DefaultLightningIntf"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","multiple":false,"default":"."},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"internal":{"name":"internal","type":"boolean","char":"i","description":"create lightning bundles without creating a -meta.xml file","hidden":true,"allowNo":false}},"args":[],"help":"If not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\nIf 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.\n\nExamples:\n $ sfdx force:lightning:interface:create -n myinterface\n $ sfdx force:lightning:interface:create -n myinterface -d aura\n","longDescription":"Creates a Lightning interface bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.","flagsConfig":{"interfacename":{"kind":"string","char":"n","description":"name of the generated Lightning interface","longDescription":"The Lightning interface name. The name can be up to 40 characters and must start with a letter.","required":true,"input":[],"multiple":false,"type":"option"},"template":{"kind":"string","char":"t","description":"template to use for file creation","longDescription":"The template to use to create the file. Supplied parameter values or default values are filled into a copy of the template.","default":"DefaultLightningIntf","options":["DefaultLightningIntf"],"input":[],"multiple":false,"type":"option"},"outputdir":{"kind":"string","char":"d","description":"folder for saving the created files","longDescription":"The directory to store the newly created files. The location can be an absolute path or relative to the current working directory. The default is the current directory.","default":".","input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false},"internal":{"kind":"boolean","char":"i","description":"create lightning bundles without creating a -meta.xml file","hidden":true,"allowNo":false,"type":"boolean"}}},"force:lightning:test:create":{"id":"force:lightning:test:create","description":"create a Lightning test\nIf not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\n","strict":true,"usage":"<%= command.id %> -n <string> [-t <string>] [-d <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-templates","pluginAlias":"@salesforce/plugin-templates","pluginType":"core","aliases":[],"examples":["$ sfdx force:lightning:test:create -n MyLightningTest","$ sfdx force:lightning:test:create -n MyLightningTest -d lightningTests"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"testname":{"name":"testname","type":"option","char":"n","description":"name of the generated Lightning test","required":true,"multiple":false},"template":{"name":"template","type":"option","char":"t","description":"template to use for file creation","multiple":false,"options":["DefaultLightningTest"],"default":"DefaultLightningTest"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","multiple":false,"default":"."},"internal":{"name":"internal","type":"boolean","char":"i","description":"create lightning bundles without creating a -meta.xml file","hidden":true,"allowNo":false}},"args":[],"help":"If not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\n\nExamples:\n $ sfdx force:lightning:test:create -n MyLightningTest\n $ sfdx force:lightning:test:create -n MyLightningTest -d lightningTests\n","longDescription":"Creates a Lightning test in the specified directory or the current working directory. The .resource file and associated metadata file are created.","flagsConfig":{"testname":{"kind":"string","char":"n","description":"name of the generated Lightning test","longDescription":"The name of the new Lightning test. The name can be up to 40 characters and must start with a letter.","required":true,"input":[],"multiple":false,"type":"option"},"template":{"kind":"string","char":"t","description":"template to use for file creation","longDescription":"The template to use to create the file. Supplied parameter values or default values are filled into a copy of the template.","default":"DefaultLightningTest","options":["DefaultLightningTest"],"input":[],"multiple":false,"type":"option"},"outputdir":{"kind":"string","char":"d","description":"folder for saving the created files","longDescription":"The directory to store the newly created files. The location can be an absolute path or relative to the current working directory. The default is the current directory.","default":".","input":[],"multiple":false,"type":"option"},"internal":{"kind":"boolean","char":"i","description":"create lightning bundles without creating a -meta.xml file","hidden":true,"allowNo":false,"type":"boolean"}}},"force:visualforce:component:create":{"id":"force:visualforce:component:create","description":"create a Visualforce component\nIf not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\n","strict":true,"usage":"<%= command.id %> -n <string> -l <string> [-t <string>] [-d <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-templates","pluginAlias":"@salesforce/plugin-templates","pluginType":"core","aliases":[],"examples":["$ sfdx force:visualforce:component:create -n mycomponent -l mylabel","$ sfdx force:visualforce:component:create -n mycomponent -l mylabel -d components"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"template":{"name":"template","type":"option","char":"t","description":"template to use for file creation","multiple":false,"options":["DefaultVFComponent"],"default":"DefaultVFComponent"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","multiple":false,"default":"."},"componentname":{"name":"componentname","type":"option","char":"n","description":"name of the generated Visualforce component","required":true,"multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"label":{"name":"label","type":"option","char":"l","description":"Visualforce component label","required":true,"multiple":false}},"args":[],"help":"If not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\n\nExamples:\n $ sfdx force:visualforce:component:create -n mycomponent -l mylabel\n $ sfdx force:visualforce:component:create -n mycomponent -l mylabel -d components\n","longDescription":"Creates a Visualforce component in the specified directory or the current working directory. The command creates the .component file and associated metadata file.","flagsConfig":{"template":{"kind":"string","char":"t","description":"template to use for file creation","longDescription":"The template to use to create the file. Supplied parameter values or default values are filled into a copy of the template.","default":"DefaultVFComponent","options":["DefaultVFComponent"],"input":[],"multiple":false,"type":"option"},"outputdir":{"kind":"string","char":"d","description":"folder for saving the created files","longDescription":"The directory to store the newly created files. The location can be an absolute path or relative to the current working directory. The default is the current directory.","default":".","input":[],"multiple":false,"type":"option"},"componentname":{"kind":"string","char":"n","description":"name of the generated Visualforce component","longDescription":"The Visualforce component name. The name can be up to 40 characters and must start with a letter.","required":true,"input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false},"label":{"kind":"string","char":"l","description":"Visualforce component label","longDescription":"The label saved in the metadata for the Visualforce component.","required":true,"input":[],"multiple":false,"type":"option"}}},"force:visualforce:page:create":{"id":"force:visualforce:page:create","description":"create a Visualforce page\nIf not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\n","strict":true,"usage":"<%= command.id %> -n <string> -l <string> [-t <string>] [-d <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-templates","pluginAlias":"@salesforce/plugin-templates","pluginType":"core","aliases":[],"examples":["$ sfdx force:visualforce:page:create -n mypage -l mylabel","$ sfdx force:visualforce:page:create -n mypage -l mylabel -d pages"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"template":{"name":"template","type":"option","char":"t","description":"template to use for file creation","multiple":false,"options":["DefaultVFPage"],"default":"DefaultVFPage"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","multiple":false,"default":"."},"pagename":{"name":"pagename","type":"option","char":"n","description":"name of the generated Visualforce page","required":true,"multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"label":{"name":"label","type":"option","char":"l","description":"Visualforce page label","required":true,"multiple":false}},"args":[],"help":"If not supplied, the apiversion, template, and outputdir use default values.\nThe outputdir can be an absolute path or relative to the current working directory.\n\nExamples:\n $ sfdx force:visualforce:page:create -n mypage -l mylabel\n $ sfdx force:visualforce:page:create -n mypage -l mylabel -d pages\n","longDescription":"Creates a Visualforce page in the specified directory or the current working directory. The command creates the .page file and associated metadata file.","flagsConfig":{"template":{"kind":"string","char":"t","description":"template to use for file creation","longDescription":"The template to use to create the file. Supplied parameter values or default values are filled into a copy of the template.","default":"DefaultVFPage","options":["DefaultVFPage"],"input":[],"multiple":false,"type":"option"},"outputdir":{"kind":"string","char":"d","description":"folder for saving the created files","longDescription":"The directory to store the newly created files. The location can be an absolute path or relative to the current working directory. The default is the current directory.","default":".","input":[],"multiple":false,"type":"option"},"pagename":{"kind":"string","char":"n","description":"name of the generated Visualforce page","longDescription":"The Visualforce page name. The name can be up to 40 characters and must start with a letter.","required":true,"input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false},"label":{"kind":"string","char":"l","description":"Visualforce page label","longDescription":"The label saved in the metadata for the Visualforce page.","required":true,"input":[],"multiple":false,"type":"option"}}}}}
1
+ {
2
+ "version": "55.4.1",
3
+ "commands": {
4
+ "project:generate": {
5
+ "id": "project:generate",
6
+ "summary": "Generate a Salesforce DX project.",
7
+ "description": "A Salesforce DX project has a specific structure and a configuration file (sfdx-project.json) that identifies the directory as a Salesforce DX project. This command generates the necessary configuration files and directories to get you started.\n\nBy default, the generated sfdx-project.json file sets the sourceApiVersion property to the default API version currently used by Salesforce CLI. To specify a different version, set the apiVersion configuration variable. For example: \"sf config set apiVersion=57.0 --global\".",
8
+ "strict": true,
9
+ "pluginName": "@salesforce/plugin-templates",
10
+ "pluginAlias": "@salesforce/plugin-templates",
11
+ "pluginType": "core",
12
+ "aliases": [
13
+ "force:project:create"
14
+ ],
15
+ "examples": [
16
+ "Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
17
+ "Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
18
+ "Similar to prevoius example, but also generate a default package.xml manifest file:\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp --manifest",
19
+ "Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty"
20
+ ],
21
+ "deprecateAliases": true,
22
+ "flags": {
23
+ "json": {
24
+ "name": "json",
25
+ "type": "boolean",
26
+ "description": "Format output as json.",
27
+ "helpGroup": "GLOBAL",
28
+ "allowNo": false,
29
+ "deprecateAliases": true
30
+ },
31
+ "name": {
32
+ "name": "name",
33
+ "type": "option",
34
+ "char": "n",
35
+ "summary": "Name of the generated project.",
36
+ "description": "Generates a project directory with this name; any valid directory name is accepted. Also sets the \"name\" property in the sfdx-project.json file to this name.",
37
+ "required": true,
38
+ "multiple": false,
39
+ "deprecateAliases": true,
40
+ "aliases": [
41
+ "projectname"
42
+ ]
43
+ },
44
+ "template": {
45
+ "name": "template",
46
+ "type": "option",
47
+ "char": "t",
48
+ "summary": "Template to use for project creation.",
49
+ "description": "The template determines the sample configuration files and directories that this command generates. For example, the empty template provides these files and directory to get you started.\n\n- .forceignore\n- config/project-scratch-def.json\n- sfdx-project.json\n- package.json\n- force-app (basic source directory structure)\n\nThe standard template provides a complete force-app directory structure so you know where to put your source. It also provides additional files and scripts, especially useful when using Salesforce Extensions for VS Code. For example:\n\n- .gitignore: Use Git for version control.\n- .prettierrc and .prettierignore: Use Prettier to format your Aura components.\n- .vscode/extensions.json: When launched, Visual Studio Code, prompts you to install the recommended extensions for your project.\n- .vscode/launch.json: Configures Replay Debugger.\n- .vscode/settings.json: Additional configuration settings.\n\nThe analytics template provides similar files and the force-app/main/default/waveTemplates directory.",
50
+ "multiple": false,
51
+ "options": [
52
+ "standard",
53
+ "empty",
54
+ "analytics"
55
+ ],
56
+ "default": "standard",
57
+ "deprecateAliases": true
58
+ },
59
+ "output-dir": {
60
+ "name": "output-dir",
61
+ "type": "option",
62
+ "char": "d",
63
+ "summary": "Directory for saving the created files.",
64
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
65
+ "multiple": false,
66
+ "default": ".",
67
+ "deprecateAliases": true,
68
+ "aliases": [
69
+ "outputdir"
70
+ ]
71
+ },
72
+ "namespace": {
73
+ "name": "namespace",
74
+ "type": "option",
75
+ "char": "s",
76
+ "summary": "Namespace associated with this project and any connected scratch orgs.",
77
+ "multiple": false,
78
+ "default": "",
79
+ "deprecateAliases": true
80
+ },
81
+ "default-package-dir": {
82
+ "name": "default-package-dir",
83
+ "type": "option",
84
+ "char": "p",
85
+ "summary": "Default package directory name.",
86
+ "description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
87
+ "multiple": false,
88
+ "default": "force-app",
89
+ "deprecateAliases": true,
90
+ "aliases": [
91
+ "defaultpackagedir"
92
+ ]
93
+ },
94
+ "manifest": {
95
+ "name": "manifest",
96
+ "type": "boolean",
97
+ "char": "x",
98
+ "summary": "Generate a manifest (package.xml) for change-set based development.",
99
+ "description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
100
+ "allowNo": false,
101
+ "deprecateAliases": true
102
+ },
103
+ "login-url": {
104
+ "name": "login-url",
105
+ "type": "option",
106
+ "char": "l",
107
+ "summary": "Salesforce instance login URL.",
108
+ "description": "Normally defaults to https://login.salesforce.com.",
109
+ "hidden": true,
110
+ "multiple": false,
111
+ "default": "https://login.salesforce.com",
112
+ "deprecateAliases": true,
113
+ "aliases": [
114
+ "loginurl"
115
+ ]
116
+ },
117
+ "loglevel": {
118
+ "name": "loglevel",
119
+ "type": "option",
120
+ "hidden": true,
121
+ "multiple": false,
122
+ "deprecated": {
123
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
124
+ },
125
+ "deprecateAliases": true
126
+ }
127
+ },
128
+ "args": {}
129
+ },
130
+ "static-resource:generate": {
131
+ "id": "static-resource:generate",
132
+ "summary": "Generate a static resource.",
133
+ "description": "Generates the metadata resource file in the specified directory or the current working directory. Static resource files must be contained in a parent directory called \"staticresources\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to create one or point to an existing one.",
134
+ "strict": true,
135
+ "pluginName": "@salesforce/plugin-templates",
136
+ "pluginAlias": "@salesforce/plugin-templates",
137
+ "pluginType": "core",
138
+ "aliases": [
139
+ "force:staticresource:create"
140
+ ],
141
+ "examples": [
142
+ "Generate the metadata file for a static resource called MyResource in the current directory:\n<%= config.bin %> <%= command.id %> --name MyResource",
143
+ "Similar to previous example, but specifies a MIME type of application/json:\n<%= config.bin %> <%= command.id %> --name MyResource --type application/json",
144
+ "Generate the resource file in the \"force-app/main/default/staticresources\" directory:\n<%= config.bin %> <%= command.id %> --name MyResource --output-dir force-app/main/default/staticresources"
145
+ ],
146
+ "deprecateAliases": true,
147
+ "flags": {
148
+ "json": {
149
+ "name": "json",
150
+ "type": "boolean",
151
+ "description": "Format output as json.",
152
+ "helpGroup": "GLOBAL",
153
+ "allowNo": false,
154
+ "deprecateAliases": true
155
+ },
156
+ "name": {
157
+ "name": "name",
158
+ "type": "option",
159
+ "char": "n",
160
+ "summary": "Name of the generated static resource.",
161
+ "description": "This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.",
162
+ "required": true,
163
+ "multiple": false,
164
+ "deprecateAliases": true,
165
+ "aliases": [
166
+ "resourcename"
167
+ ]
168
+ },
169
+ "type": {
170
+ "name": "type",
171
+ "type": "option",
172
+ "summary": "Content type (mime type) of the generated static resource.",
173
+ "description": "Must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc.",
174
+ "multiple": false,
175
+ "default": "application/zip",
176
+ "deprecateAliases": true,
177
+ "aliases": [
178
+ "contenttype"
179
+ ]
180
+ },
181
+ "output-dir": {
182
+ "name": "output-dir",
183
+ "type": "option",
184
+ "char": "d",
185
+ "summary": "Directory for saving the created files.",
186
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
187
+ "multiple": false,
188
+ "default": ".",
189
+ "deprecateAliases": true,
190
+ "aliases": [
191
+ "outputdir"
192
+ ]
193
+ },
194
+ "api-version": {
195
+ "name": "api-version",
196
+ "type": "option",
197
+ "description": "Override the api version used for api requests made by this command",
198
+ "multiple": false,
199
+ "deprecateAliases": true,
200
+ "aliases": [
201
+ "apiversion"
202
+ ]
203
+ },
204
+ "loglevel": {
205
+ "name": "loglevel",
206
+ "type": "option",
207
+ "hidden": true,
208
+ "multiple": false,
209
+ "deprecated": {
210
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
211
+ },
212
+ "deprecateAliases": true
213
+ }
214
+ },
215
+ "args": {}
216
+ },
217
+ "analytics:generate:template": {
218
+ "id": "analytics:generate:template",
219
+ "summary": "Generate a simple Analytics template.",
220
+ "description": "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.",
221
+ "strict": true,
222
+ "pluginName": "@salesforce/plugin-templates",
223
+ "pluginAlias": "@salesforce/plugin-templates",
224
+ "pluginType": "core",
225
+ "aliases": [
226
+ "force:analytics:template:create"
227
+ ],
228
+ "examples": [
229
+ "Generate the metadata files for a simple Analytics template file called myTemplate in the force-app/main/default/waveTemplates directory:\n<%= config.bin %> <%= command.id %> --name myTemplate --output-dir force-app/main/default/waveTemplates"
230
+ ],
231
+ "deprecateAliases": true,
232
+ "flags": {
233
+ "json": {
234
+ "name": "json",
235
+ "type": "boolean",
236
+ "description": "Format output as json.",
237
+ "helpGroup": "GLOBAL",
238
+ "allowNo": false,
239
+ "deprecateAliases": true
240
+ },
241
+ "output-dir": {
242
+ "name": "output-dir",
243
+ "type": "option",
244
+ "char": "d",
245
+ "summary": "Directory for saving the created files.",
246
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
247
+ "multiple": false,
248
+ "default": ".",
249
+ "deprecateAliases": true,
250
+ "aliases": [
251
+ "outputdir"
252
+ ]
253
+ },
254
+ "api-version": {
255
+ "name": "api-version",
256
+ "type": "option",
257
+ "description": "Override the api version used for api requests made by this command",
258
+ "multiple": false,
259
+ "deprecateAliases": true,
260
+ "aliases": [
261
+ "apiversion"
262
+ ]
263
+ },
264
+ "name": {
265
+ "name": "name",
266
+ "type": "option",
267
+ "char": "n",
268
+ "summary": "Name of the Analytics template.",
269
+ "required": true,
270
+ "multiple": false,
271
+ "deprecateAliases": true,
272
+ "aliases": [
273
+ "templatename"
274
+ ]
275
+ },
276
+ "loglevel": {
277
+ "name": "loglevel",
278
+ "type": "option",
279
+ "hidden": true,
280
+ "multiple": false,
281
+ "deprecated": {
282
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
283
+ },
284
+ "deprecateAliases": true
285
+ }
286
+ },
287
+ "args": {}
288
+ },
289
+ "apex:generate:class": {
290
+ "id": "apex:generate:class",
291
+ "summary": "Generate an Apex class.",
292
+ "description": "Generates the Apex *.cls file and associated metadata file. These files must be contained in a parent directory called \"classes\" 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.",
293
+ "strict": true,
294
+ "pluginName": "@salesforce/plugin-templates",
295
+ "pluginAlias": "@salesforce/plugin-templates",
296
+ "pluginType": "core",
297
+ "aliases": [
298
+ "force:apex:class:create"
299
+ ],
300
+ "examples": [
301
+ "Generate two metadata files associated with the MyClass Apex class (MyClass.cls and MyClass.cls-meta.xml) in the current directory:\n<%= config.bin %> <%= command.id %> --name MyClass",
302
+ "Similar to previous example, but generates the files in the \"force-app/main/default/classes\" directory:\n<%= config.bin %> <%= command.id %> --name MyClass --output-dir force-app/main/default/classes"
303
+ ],
304
+ "deprecateAliases": true,
305
+ "flags": {
306
+ "json": {
307
+ "name": "json",
308
+ "type": "boolean",
309
+ "description": "Format output as json.",
310
+ "helpGroup": "GLOBAL",
311
+ "allowNo": false,
312
+ "deprecateAliases": true
313
+ },
314
+ "name": {
315
+ "name": "name",
316
+ "type": "option",
317
+ "char": "n",
318
+ "summary": "Name of the generated Apex class.",
319
+ "description": "The name can be up to 40 characters and must start with a letter.",
320
+ "required": true,
321
+ "multiple": false,
322
+ "deprecateAliases": true,
323
+ "aliases": [
324
+ "classname"
325
+ ]
326
+ },
327
+ "template": {
328
+ "name": "template",
329
+ "type": "option",
330
+ "char": "t",
331
+ "summary": "Template to use for file creation.",
332
+ "description": "Supplied parameter values or default values are filled into a copy of the template.",
333
+ "multiple": false,
334
+ "options": [
335
+ "ApexException",
336
+ "ApexUnitTest",
337
+ "DefaultApexClass",
338
+ "InboundEmailService"
339
+ ],
340
+ "default": "DefaultApexClass",
341
+ "deprecateAliases": true
342
+ },
343
+ "output-dir": {
344
+ "name": "output-dir",
345
+ "type": "option",
346
+ "char": "d",
347
+ "summary": "Directory for saving the created files.",
348
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
349
+ "multiple": false,
350
+ "default": ".",
351
+ "deprecateAliases": true,
352
+ "aliases": [
353
+ "outputdir"
354
+ ]
355
+ },
356
+ "api-version": {
357
+ "name": "api-version",
358
+ "type": "option",
359
+ "description": "Override the api version used for api requests made by this command",
360
+ "multiple": false,
361
+ "deprecateAliases": true,
362
+ "aliases": [
363
+ "apiversion"
364
+ ]
365
+ },
366
+ "loglevel": {
367
+ "name": "loglevel",
368
+ "type": "option",
369
+ "hidden": true,
370
+ "multiple": false,
371
+ "deprecated": {
372
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
373
+ },
374
+ "deprecateAliases": true
375
+ }
376
+ },
377
+ "args": {}
378
+ },
379
+ "apex:generate:trigger": {
380
+ "id": "apex:generate:trigger",
381
+ "summary": "Generate an Apex trigger.",
382
+ "description": "Generates the Apex trigger *.trigger file and associated metadata file. These files must be contained in a parent directory called \"triggers\" 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. \n\nIf you don't specify the --sobject flag, the .trigger file contains the generic placeholder SOBJECT; replace it with the Salesforce object you want to generate a trigger for. If you don't specify --event, \"before insert\" is used.",
383
+ "strict": true,
384
+ "pluginName": "@salesforce/plugin-templates",
385
+ "pluginAlias": "@salesforce/plugin-templates",
386
+ "pluginType": "core",
387
+ "aliases": [
388
+ "force:apex:trigger:create"
389
+ ],
390
+ "examples": [
391
+ "Generate two files associated with the MyTrigger Apex trigger (MyTrigger.trigger and MyTrigger.trigger-meta.xml) in the current directory:\n<%= config.bin %> <%= command.id %> --name MyTrigger",
392
+ "Similar to the previous example, but generate the files in the \"force-app/main/default/triggers\" directory:\n<%= config.bin %> <%= command.id %> --name MyTrigger --output-dir force-app/main/default/triggers",
393
+ "Generate files for a trigger that fires on the Account object before and after an insert:\n<%= config.bin %> <%= command.id %> --name MyTrigger --sobject Account --event \"before insert,after insert\""
394
+ ],
395
+ "deprecateAliases": true,
396
+ "flags": {
397
+ "json": {
398
+ "name": "json",
399
+ "type": "boolean",
400
+ "description": "Format output as json.",
401
+ "helpGroup": "GLOBAL",
402
+ "allowNo": false,
403
+ "deprecateAliases": true
404
+ },
405
+ "name": {
406
+ "name": "name",
407
+ "type": "option",
408
+ "char": "n",
409
+ "summary": "Name of the generated Apex trigger",
410
+ "description": "The name can be up to 40 characters and must start with a letter.",
411
+ "required": true,
412
+ "multiple": false,
413
+ "deprecateAliases": true,
414
+ "aliases": [
415
+ "triggername"
416
+ ]
417
+ },
418
+ "template": {
419
+ "name": "template",
420
+ "type": "option",
421
+ "char": "t",
422
+ "summary": "Template to use for file creation.",
423
+ "description": "Supplied parameter values or default values are filled into a copy of the template.",
424
+ "multiple": false,
425
+ "options": [
426
+ "ApexTrigger"
427
+ ],
428
+ "default": "ApexTrigger",
429
+ "deprecateAliases": true
430
+ },
431
+ "output-dir": {
432
+ "name": "output-dir",
433
+ "type": "option",
434
+ "char": "d",
435
+ "summary": "Directory for saving the created files.",
436
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
437
+ "multiple": false,
438
+ "default": ".",
439
+ "deprecateAliases": true,
440
+ "aliases": [
441
+ "outputdir"
442
+ ]
443
+ },
444
+ "api-version": {
445
+ "name": "api-version",
446
+ "type": "option",
447
+ "description": "Override the api version used for api requests made by this command",
448
+ "multiple": false,
449
+ "deprecateAliases": true,
450
+ "aliases": [
451
+ "apiversion"
452
+ ]
453
+ },
454
+ "sobject": {
455
+ "name": "sobject",
456
+ "type": "option",
457
+ "char": "s",
458
+ "summary": "Salesforce object to generate a trigger on.",
459
+ "multiple": false,
460
+ "default": "SOBJECT",
461
+ "deprecateAliases": true
462
+ },
463
+ "event": {
464
+ "name": "event",
465
+ "type": "option",
466
+ "char": "e",
467
+ "summary": "Events that fire the trigger.",
468
+ "multiple": true,
469
+ "options": [
470
+ "before insert",
471
+ "before update",
472
+ "before delete",
473
+ "after insert",
474
+ "after update",
475
+ "after delete",
476
+ "after undelete"
477
+ ],
478
+ "default": [
479
+ "before insert"
480
+ ],
481
+ "deprecateAliases": true,
482
+ "aliases": [
483
+ "triggerevents"
484
+ ],
485
+ "delimiter": ","
486
+ },
487
+ "loglevel": {
488
+ "name": "loglevel",
489
+ "type": "option",
490
+ "hidden": true,
491
+ "multiple": false,
492
+ "deprecated": {
493
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
494
+ },
495
+ "deprecateAliases": true
496
+ }
497
+ },
498
+ "args": {}
499
+ },
500
+ "lightning:generate:app": {
501
+ "id": "lightning:generate:app",
502
+ "summary": "Generate a Lightning App.",
503
+ "description": "Generates a Lightning App bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
504
+ "strict": true,
505
+ "pluginName": "@salesforce/plugin-templates",
506
+ "pluginAlias": "@salesforce/plugin-templates",
507
+ "pluginType": "core",
508
+ "aliases": [
509
+ "force:lightning:app:create"
510
+ ],
511
+ "examples": [
512
+ "Generate the metadata files for a Lightning app bundle called \"myapp\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myapp",
513
+ "Similar to the previous example, but generate the files in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name myapp --output-dir force-app/main/default/aura"
514
+ ],
515
+ "deprecateAliases": true,
516
+ "flags": {
517
+ "json": {
518
+ "name": "json",
519
+ "type": "boolean",
520
+ "description": "Format output as json.",
521
+ "helpGroup": "GLOBAL",
522
+ "allowNo": false,
523
+ "deprecateAliases": true
524
+ },
525
+ "name": {
526
+ "name": "name",
527
+ "type": "option",
528
+ "char": "n",
529
+ "summary": "Name of the generated Lightning App.",
530
+ "description": "The name can be up to 40 characters and must start with a letter.",
531
+ "required": true,
532
+ "multiple": false,
533
+ "deprecateAliases": true,
534
+ "aliases": [
535
+ "appname"
536
+ ]
537
+ },
538
+ "template": {
539
+ "name": "template",
540
+ "type": "option",
541
+ "char": "t",
542
+ "summary": "Template to use for file creation.",
543
+ "description": "Supplied parameter values or default values are filled into a copy of the template.",
544
+ "multiple": false,
545
+ "options": [
546
+ "DefaultLightningApp"
547
+ ],
548
+ "default": "DefaultLightningApp",
549
+ "deprecateAliases": true
550
+ },
551
+ "output-dir": {
552
+ "name": "output-dir",
553
+ "type": "option",
554
+ "char": "d",
555
+ "summary": "Directory for saving the created files.",
556
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
557
+ "multiple": false,
558
+ "default": ".",
559
+ "deprecateAliases": true,
560
+ "aliases": [
561
+ "outputdir"
562
+ ]
563
+ },
564
+ "api-version": {
565
+ "name": "api-version",
566
+ "type": "option",
567
+ "description": "Override the api version used for api requests made by this command",
568
+ "multiple": false,
569
+ "deprecateAliases": true,
570
+ "aliases": [
571
+ "apiversion"
572
+ ]
573
+ },
574
+ "internal": {
575
+ "name": "internal",
576
+ "type": "boolean",
577
+ "char": "i",
578
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
579
+ "hidden": true,
580
+ "allowNo": false,
581
+ "deprecateAliases": true
582
+ },
583
+ "loglevel": {
584
+ "name": "loglevel",
585
+ "type": "option",
586
+ "hidden": true,
587
+ "multiple": false,
588
+ "deprecated": {
589
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
590
+ },
591
+ "deprecateAliases": true
592
+ }
593
+ },
594
+ "args": {}
595
+ },
596
+ "lightning:generate:component": {
597
+ "id": "lightning:generate:component",
598
+ "summary": "Generate a bundle for an Aura component or a Lightning web component.",
599
+ "description": "Generates the bundle in the specified directory or the current working directory. The bundle consists of multiple files in a directory with the designated name. Lightning web components are contained in the directory with name \"lwc\", Aura components in \"aura\".\n\nTo generate a Lightning web component, pass \"--type lwc\" to the command. If you don’t specify --type, Salesforce CLI generates an Aura component by default.",
600
+ "strict": true,
601
+ "pluginName": "@salesforce/plugin-templates",
602
+ "pluginAlias": "@salesforce/plugin-templates",
603
+ "pluginType": "core",
604
+ "aliases": [
605
+ "force:lightning:component:create"
606
+ ],
607
+ "examples": [
608
+ "Generate the metadata files for an Aura component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent",
609
+ "Generate a Lightning web component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc",
610
+ "Generate an Aura component bundle in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --output-dir force-app/main/default/aura",
611
+ "Generate a Lightning web component bundle in the \"force-app/main/default/lwc\" directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc --output-dir force-app/main/default/lwc"
612
+ ],
613
+ "deprecateAliases": true,
614
+ "flags": {
615
+ "json": {
616
+ "name": "json",
617
+ "type": "boolean",
618
+ "description": "Format output as json.",
619
+ "helpGroup": "GLOBAL",
620
+ "allowNo": false,
621
+ "deprecateAliases": true
622
+ },
623
+ "name": {
624
+ "name": "name",
625
+ "type": "option",
626
+ "char": "n",
627
+ "summary": "Name of the generated Lightning Component.",
628
+ "description": "The name can be up to 40 characters and must start with a letter.",
629
+ "required": true,
630
+ "multiple": false,
631
+ "deprecateAliases": true,
632
+ "aliases": [
633
+ "componentname"
634
+ ]
635
+ },
636
+ "template": {
637
+ "name": "template",
638
+ "type": "option",
639
+ "char": "t",
640
+ "summary": "Template to use for file creation.",
641
+ "description": "Supplied parameter values or default values are filled into a copy of the template.",
642
+ "multiple": false,
643
+ "options": [
644
+ "default",
645
+ "analyticsDashboard",
646
+ "analyticsDashboardWithStep"
647
+ ],
648
+ "default": "default",
649
+ "deprecateAliases": true
650
+ },
651
+ "output-dir": {
652
+ "name": "output-dir",
653
+ "type": "option",
654
+ "char": "d",
655
+ "summary": "Directory for saving the created files.",
656
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
657
+ "multiple": false,
658
+ "default": ".",
659
+ "deprecateAliases": true,
660
+ "aliases": [
661
+ "outputdir"
662
+ ]
663
+ },
664
+ "api-version": {
665
+ "name": "api-version",
666
+ "type": "option",
667
+ "description": "Override the api version used for api requests made by this command",
668
+ "multiple": false,
669
+ "deprecateAliases": true,
670
+ "aliases": [
671
+ "apiversion"
672
+ ]
673
+ },
674
+ "type": {
675
+ "name": "type",
676
+ "type": "option",
677
+ "summary": "Type of the component bundle.",
678
+ "multiple": false,
679
+ "options": [
680
+ "aura",
681
+ "lwc"
682
+ ],
683
+ "default": "aura",
684
+ "deprecateAliases": true
685
+ },
686
+ "internal": {
687
+ "name": "internal",
688
+ "type": "boolean",
689
+ "char": "i",
690
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
691
+ "hidden": true,
692
+ "allowNo": false,
693
+ "deprecateAliases": true
694
+ },
695
+ "loglevel": {
696
+ "name": "loglevel",
697
+ "type": "option",
698
+ "hidden": true,
699
+ "multiple": false,
700
+ "deprecated": {
701
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
702
+ },
703
+ "deprecateAliases": true
704
+ }
705
+ },
706
+ "args": {}
707
+ },
708
+ "lightning:generate:event": {
709
+ "id": "lightning:generate:event",
710
+ "summary": "Generate a Lightning Event.",
711
+ "description": "Generates a Lightning Event bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
712
+ "strict": true,
713
+ "pluginName": "@salesforce/plugin-templates",
714
+ "pluginAlias": "@salesforce/plugin-templates",
715
+ "pluginType": "core",
716
+ "aliases": [
717
+ "force:lightning:event:create"
718
+ ],
719
+ "examples": [
720
+ "Generate the metadata files for a Lightning event bundle called \"myevent\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myevent",
721
+ "Similar to previous example, but generate the files in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name myevent --output-dir force-app/main/default/aura"
722
+ ],
723
+ "deprecateAliases": true,
724
+ "flags": {
725
+ "json": {
726
+ "name": "json",
727
+ "type": "boolean",
728
+ "description": "Format output as json.",
729
+ "helpGroup": "GLOBAL",
730
+ "allowNo": false,
731
+ "deprecateAliases": true
732
+ },
733
+ "name": {
734
+ "name": "name",
735
+ "type": "option",
736
+ "char": "n",
737
+ "summary": "Name of the generated Lightning Event.",
738
+ "description": "The name can be up to 40 characters and must start with a letter.",
739
+ "required": true,
740
+ "multiple": false,
741
+ "deprecateAliases": true,
742
+ "aliases": [
743
+ "eventname"
744
+ ]
745
+ },
746
+ "template": {
747
+ "name": "template",
748
+ "type": "option",
749
+ "char": "t",
750
+ "summary": "Template to use for file creation.",
751
+ "description": "Supplied parameter values or default values are filled into a copy of the template.",
752
+ "multiple": false,
753
+ "options": [
754
+ "DefaultLightningEvt"
755
+ ],
756
+ "default": "DefaultLightningEvt",
757
+ "deprecateAliases": true
758
+ },
759
+ "output-dir": {
760
+ "name": "output-dir",
761
+ "type": "option",
762
+ "char": "d",
763
+ "summary": "Directory for saving the created files.",
764
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
765
+ "multiple": false,
766
+ "default": ".",
767
+ "deprecateAliases": true,
768
+ "aliases": [
769
+ "outputdir"
770
+ ]
771
+ },
772
+ "api-version": {
773
+ "name": "api-version",
774
+ "type": "option",
775
+ "description": "Override the api version used for api requests made by this command",
776
+ "multiple": false,
777
+ "deprecateAliases": true,
778
+ "aliases": [
779
+ "apiversion"
780
+ ]
781
+ },
782
+ "internal": {
783
+ "name": "internal",
784
+ "type": "boolean",
785
+ "char": "i",
786
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
787
+ "hidden": true,
788
+ "allowNo": false,
789
+ "deprecateAliases": true
790
+ },
791
+ "loglevel": {
792
+ "name": "loglevel",
793
+ "type": "option",
794
+ "hidden": true,
795
+ "multiple": false,
796
+ "deprecated": {
797
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
798
+ },
799
+ "deprecateAliases": true
800
+ }
801
+ },
802
+ "args": {}
803
+ },
804
+ "lightning:generate:interface": {
805
+ "id": "lightning:generate:interface",
806
+ "summary": "Generate a Lightning Interface.",
807
+ "description": "Generates a Lightning Interface bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
808
+ "strict": true,
809
+ "pluginName": "@salesforce/plugin-templates",
810
+ "pluginAlias": "@salesforce/plugin-templates",
811
+ "pluginType": "core",
812
+ "aliases": [
813
+ "force:lightning:interface:create"
814
+ ],
815
+ "examples": [
816
+ "Generate the metadata files for a Lightning interface bundle called \"myinterface\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myinterface",
817
+ "Similar to the previous example but generate the files in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name myinterface --output-dir force-app/main/default/aura"
818
+ ],
819
+ "deprecateAliases": true,
820
+ "flags": {
821
+ "json": {
822
+ "name": "json",
823
+ "type": "boolean",
824
+ "description": "Format output as json.",
825
+ "helpGroup": "GLOBAL",
826
+ "allowNo": false,
827
+ "deprecateAliases": true
828
+ },
829
+ "name": {
830
+ "name": "name",
831
+ "type": "option",
832
+ "char": "n",
833
+ "summary": "Name of the generated Lightning Interface.",
834
+ "description": "The name can be up to 40 characters and must start with a letter.",
835
+ "required": true,
836
+ "multiple": false,
837
+ "deprecateAliases": true,
838
+ "aliases": [
839
+ "interfacename"
840
+ ]
841
+ },
842
+ "template": {
843
+ "name": "template",
844
+ "type": "option",
845
+ "char": "t",
846
+ "summary": "Template to use for file creation.",
847
+ "description": "Supplied parameter values or default values are filled into a copy of the template.",
848
+ "multiple": false,
849
+ "options": [
850
+ "DefaultLightningIntf"
851
+ ],
852
+ "default": "DefaultLightningIntf",
853
+ "deprecateAliases": true
854
+ },
855
+ "output-dir": {
856
+ "name": "output-dir",
857
+ "type": "option",
858
+ "char": "d",
859
+ "summary": "Directory for saving the created files.",
860
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
861
+ "multiple": false,
862
+ "default": ".",
863
+ "deprecateAliases": true,
864
+ "aliases": [
865
+ "outputdir"
866
+ ]
867
+ },
868
+ "api-version": {
869
+ "name": "api-version",
870
+ "type": "option",
871
+ "description": "Override the api version used for api requests made by this command",
872
+ "multiple": false,
873
+ "deprecateAliases": true,
874
+ "aliases": [
875
+ "apiversion"
876
+ ]
877
+ },
878
+ "internal": {
879
+ "name": "internal",
880
+ "type": "boolean",
881
+ "char": "i",
882
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
883
+ "hidden": true,
884
+ "allowNo": false,
885
+ "deprecateAliases": true
886
+ },
887
+ "loglevel": {
888
+ "name": "loglevel",
889
+ "type": "option",
890
+ "hidden": true,
891
+ "multiple": false,
892
+ "deprecated": {
893
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
894
+ },
895
+ "deprecateAliases": true
896
+ }
897
+ },
898
+ "args": {}
899
+ },
900
+ "lightning:generate:test": {
901
+ "id": "lightning:generate:test",
902
+ "summary": "Generate a Lightning test.",
903
+ "description": "Generates the test in the specified directory or the current working directory. The .resource file and associated metadata file are generated.",
904
+ "strict": true,
905
+ "pluginName": "@salesforce/plugin-templates",
906
+ "pluginAlias": "@salesforce/plugin-templates",
907
+ "pluginType": "core",
908
+ "aliases": [
909
+ "force:lightning:test:create"
910
+ ],
911
+ "examples": [
912
+ "Generate the metadata files for the Lightning test called MyLightningTest in the current directory:\n<%= config.bin %> <%= command.id %> --name MyLightningTest",
913
+ "Similar to the previous example but generate the files in the \"force-app/main/default/lightningTests\" directory:\n<%= config.bin %> <%= command.id %> --name MyLightningTest --output-dir force-app/main/default/lightningTests"
914
+ ],
915
+ "deprecateAliases": true,
916
+ "flags": {
917
+ "json": {
918
+ "name": "json",
919
+ "type": "boolean",
920
+ "description": "Format output as json.",
921
+ "helpGroup": "GLOBAL",
922
+ "allowNo": false,
923
+ "deprecateAliases": true
924
+ },
925
+ "name": {
926
+ "name": "name",
927
+ "type": "option",
928
+ "char": "n",
929
+ "summary": "Name of the generated Lightning Test.",
930
+ "description": "Name of the new Lightning test; can be up to 40 characters and must start with a letter.",
931
+ "required": true,
932
+ "multiple": false,
933
+ "deprecateAliases": true,
934
+ "aliases": [
935
+ "testname"
936
+ ]
937
+ },
938
+ "template": {
939
+ "name": "template",
940
+ "type": "option",
941
+ "char": "t",
942
+ "summary": "Template to use for file creation.",
943
+ "description": "Supplied parameter values or default values are filled into a copy of the template.",
944
+ "multiple": false,
945
+ "options": [
946
+ "DefaultLightningTest"
947
+ ],
948
+ "default": "DefaultLightningTest",
949
+ "deprecateAliases": true
950
+ },
951
+ "output-dir": {
952
+ "name": "output-dir",
953
+ "type": "option",
954
+ "char": "d",
955
+ "summary": "Directory for saving the created files.",
956
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
957
+ "multiple": false,
958
+ "default": ".",
959
+ "deprecateAliases": true,
960
+ "aliases": [
961
+ "outputdir"
962
+ ]
963
+ },
964
+ "internal": {
965
+ "name": "internal",
966
+ "type": "boolean",
967
+ "char": "i",
968
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
969
+ "hidden": true,
970
+ "allowNo": false,
971
+ "deprecateAliases": true
972
+ },
973
+ "api-version": {
974
+ "name": "api-version",
975
+ "type": "option",
976
+ "description": "Override the api version used for api requests made by this command",
977
+ "multiple": false,
978
+ "deprecateAliases": true,
979
+ "aliases": [
980
+ "apiversion"
981
+ ]
982
+ },
983
+ "loglevel": {
984
+ "name": "loglevel",
985
+ "type": "option",
986
+ "hidden": true,
987
+ "multiple": false,
988
+ "deprecated": {
989
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
990
+ },
991
+ "deprecateAliases": true
992
+ }
993
+ },
994
+ "args": {}
995
+ },
996
+ "visualforce:generate:component": {
997
+ "id": "visualforce:generate:component",
998
+ "summary": "Generate a Visualforce Component.",
999
+ "description": "The command generates the .Component file and associated metadata file in the specified directory or the current working directory by default.",
1000
+ "strict": true,
1001
+ "pluginName": "@salesforce/plugin-templates",
1002
+ "pluginAlias": "@salesforce/plugin-templates",
1003
+ "pluginType": "core",
1004
+ "aliases": [
1005
+ "force:visualforce:component:create"
1006
+ ],
1007
+ "examples": [
1008
+ "Generate the metadata files for a Visualforce component in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --label mylabel",
1009
+ "Similar to previous example, but generate the files in the directory \"force-app/main/default/components\":\n<%= config.bin %> <%= command.id %> --name mycomponent --label mylabel --output-dir components"
1010
+ ],
1011
+ "deprecateAliases": true,
1012
+ "flags": {
1013
+ "json": {
1014
+ "name": "json",
1015
+ "type": "boolean",
1016
+ "description": "Format output as json.",
1017
+ "helpGroup": "GLOBAL",
1018
+ "allowNo": false,
1019
+ "deprecateAliases": true
1020
+ },
1021
+ "name": {
1022
+ "name": "name",
1023
+ "type": "option",
1024
+ "char": "n",
1025
+ "summary": "Name of the generated Visualforce Component.",
1026
+ "description": "The name can be up to 40 characters and must start with a letter.",
1027
+ "required": true,
1028
+ "multiple": false,
1029
+ "deprecateAliases": true,
1030
+ "aliases": [
1031
+ "componentname"
1032
+ ]
1033
+ },
1034
+ "template": {
1035
+ "name": "template",
1036
+ "type": "option",
1037
+ "char": "t",
1038
+ "summary": "Template to use for file creation.",
1039
+ "description": "Supplied parameter values or default values are filled into a copy of the template.",
1040
+ "multiple": false,
1041
+ "options": [
1042
+ "DefaultVFComponent"
1043
+ ],
1044
+ "default": "DefaultVFComponent",
1045
+ "deprecateAliases": true
1046
+ },
1047
+ "output-dir": {
1048
+ "name": "output-dir",
1049
+ "type": "option",
1050
+ "char": "d",
1051
+ "summary": "Directory for saving the created files.",
1052
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
1053
+ "multiple": false,
1054
+ "default": ".",
1055
+ "deprecateAliases": true,
1056
+ "aliases": [
1057
+ "outputdir"
1058
+ ]
1059
+ },
1060
+ "api-version": {
1061
+ "name": "api-version",
1062
+ "type": "option",
1063
+ "description": "Override the api version used for api requests made by this command",
1064
+ "multiple": false,
1065
+ "deprecateAliases": true,
1066
+ "aliases": [
1067
+ "apiversion"
1068
+ ]
1069
+ },
1070
+ "label": {
1071
+ "name": "label",
1072
+ "type": "option",
1073
+ "char": "l",
1074
+ "summary": "Visualforce Component label.",
1075
+ "required": true,
1076
+ "multiple": false,
1077
+ "deprecateAliases": true
1078
+ },
1079
+ "loglevel": {
1080
+ "name": "loglevel",
1081
+ "type": "option",
1082
+ "hidden": true,
1083
+ "multiple": false,
1084
+ "deprecated": {
1085
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
1086
+ },
1087
+ "deprecateAliases": true
1088
+ }
1089
+ },
1090
+ "args": {}
1091
+ },
1092
+ "visualforce:generate:page": {
1093
+ "id": "visualforce:generate:page",
1094
+ "summary": "Generate a Visualforce Page.",
1095
+ "description": "The command generates the .Page file and associated metadata file in the specified directory or the current working directory by default.",
1096
+ "strict": true,
1097
+ "pluginName": "@salesforce/plugin-templates",
1098
+ "pluginAlias": "@salesforce/plugin-templates",
1099
+ "pluginType": "core",
1100
+ "aliases": [
1101
+ "force:visualforce:page:create"
1102
+ ],
1103
+ "examples": [
1104
+ "Generate the metadata files for a Visualforce page in the current directory:\n<%= config.bin %> <%= command.id %> --name mypage --label mylabel",
1105
+ "Similar to previous example, but generate the files in the directory \"force-app/main/default/pages\":\n<%= config.bin %> <%= command.id %> --name mypage --label mylabel --output-dir pages"
1106
+ ],
1107
+ "deprecateAliases": true,
1108
+ "flags": {
1109
+ "json": {
1110
+ "name": "json",
1111
+ "type": "boolean",
1112
+ "description": "Format output as json.",
1113
+ "helpGroup": "GLOBAL",
1114
+ "allowNo": false,
1115
+ "deprecateAliases": true
1116
+ },
1117
+ "name": {
1118
+ "name": "name",
1119
+ "type": "option",
1120
+ "char": "n",
1121
+ "summary": "Name of the generated Visualforce Page.",
1122
+ "description": "The name can be up to 40 characters and must start with a letter.",
1123
+ "required": true,
1124
+ "multiple": false,
1125
+ "deprecateAliases": true,
1126
+ "aliases": [
1127
+ "pagename"
1128
+ ]
1129
+ },
1130
+ "template": {
1131
+ "name": "template",
1132
+ "type": "option",
1133
+ "char": "t",
1134
+ "summary": "Template to use for file creation.",
1135
+ "description": "Supplied parameter values or default values are filled into a copy of the template.",
1136
+ "hidden": true,
1137
+ "multiple": false,
1138
+ "options": [
1139
+ "DefaultVFPage"
1140
+ ],
1141
+ "default": "DefaultVFPage",
1142
+ "deprecateAliases": true
1143
+ },
1144
+ "output-dir": {
1145
+ "name": "output-dir",
1146
+ "type": "option",
1147
+ "char": "d",
1148
+ "summary": "Directory for saving the created files.",
1149
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
1150
+ "multiple": false,
1151
+ "default": ".",
1152
+ "deprecateAliases": true,
1153
+ "aliases": [
1154
+ "outputdir"
1155
+ ]
1156
+ },
1157
+ "api-version": {
1158
+ "name": "api-version",
1159
+ "type": "option",
1160
+ "description": "Override the api version used for api requests made by this command",
1161
+ "multiple": false,
1162
+ "deprecateAliases": true,
1163
+ "aliases": [
1164
+ "apiversion"
1165
+ ]
1166
+ },
1167
+ "label": {
1168
+ "name": "label",
1169
+ "type": "option",
1170
+ "char": "l",
1171
+ "summary": "Visualforce Page label.",
1172
+ "required": true,
1173
+ "multiple": false,
1174
+ "deprecateAliases": true
1175
+ },
1176
+ "loglevel": {
1177
+ "name": "loglevel",
1178
+ "type": "option",
1179
+ "hidden": true,
1180
+ "multiple": false,
1181
+ "deprecated": {
1182
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
1183
+ },
1184
+ "deprecateAliases": true
1185
+ }
1186
+ },
1187
+ "args": {}
1188
+ }
1189
+ }
1190
+ }