UNPKG

21.7 kBJSONView Raw
1{"version":"48.27.0","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","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":"salesforcedx-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)","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},"template":{"name":"template","type":"option","char":"t","description":"template to use for project creation","options":["standard","empty","analytics"],"default":"standard"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","default":"."},"namespace":{"name":"namespace","type":"option","char":"s","description":"project associated namespace","default":""},"defaultpackagedir":{"name":"defaultpackagedir","type":"option","char":"p","description":"default package directory name","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,"default":"https://login.salesforce.com"}},"args":[]},"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","usage":"<%= command.id %> -n <string> [-d <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"salesforcedx-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)","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","default":"."},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"templatename":{"name":"templatename","type":"option","char":"n","description":"name of the Analytics template","required":true}},"args":[]},"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","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":"salesforcedx-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)","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},"template":{"name":"template","type":"option","char":"t","description":"template to use for file creation","options":["ApexException","ApexUnitTest","DefaultApexClass","InboundEmailService"],"default":"DefaultApexClass"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","default":"."},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"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","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":"salesforcedx-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)","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},"template":{"name":"template","type":"option","char":"t","description":"template to use for file creation","options":["ApexTrigger"],"default":"ApexTrigger"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","default":"."},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"sobject":{"name":"sobject","type":"option","char":"s","description":"sObject to create a trigger on","default":"SOBJECT"},"triggerevents":{"name":"triggerevents","type":"option","char":"e","description":"events that fire the trigger","default":["before insert"]}},"args":[]},"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","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":"salesforcedx-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)","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},"template":{"name":"template","type":"option","char":"t","description":"template to use for file creation","options":["DefaultLightningApp"],"default":"DefaultLightningApp"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","default":"."},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"internal":{"name":"internal","type":"boolean","char":"i","description":"create lightning bundles without creating a -meta.xml file","hidden":true,"allowNo":false}},"args":[]},"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.","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":"salesforcedx-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)","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},"template":{"name":"template","type":"option","char":"t","description":"template to use for file creation","options":[],"default":"DefaultLightningCmp"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","default":"."},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"type":{"name":"type","type":"option","description":"type of the Lightning component","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":[]},"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","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":"salesforcedx-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)","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},"template":{"name":"template","type":"option","char":"t","description":"template to use for file creation","options":["DefaultLightningEvt"],"default":"DefaultLightningEvt"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","default":"."},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"internal":{"name":"internal","type":"boolean","char":"i","description":"create lightning bundles without creating a -meta.xml file","hidden":true,"allowNo":false}},"args":[]},"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","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":"salesforcedx-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)","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},"template":{"name":"template","type":"option","char":"t","description":"template to use for file creation","options":["DefaultLightningIntf"],"default":"DefaultLightningIntf"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","default":"."},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"internal":{"name":"internal","type":"boolean","char":"i","description":"create lightning bundles without creating a -meta.xml file","hidden":true,"allowNo":false}},"args":[]},"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","usage":"<%= command.id %> -n <string> [-t <string>] [-d <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"salesforcedx-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)","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},"template":{"name":"template","type":"option","char":"t","description":"template to use for file creation","options":["DefaultLightningTest"],"default":"DefaultLightningTest"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","default":"."},"internal":{"name":"internal","type":"boolean","char":"i","description":"create lightning bundles without creating a -meta.xml file","hidden":true,"allowNo":false}},"args":[]},"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","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":"salesforcedx-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)","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","options":["DefaultVFComponent"],"default":"DefaultVFComponent"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","default":"."},"componentname":{"name":"componentname","type":"option","char":"n","description":"name of the generated Visualforce component","required":true},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"label":{"name":"label","type":"option","char":"l","description":"Visualforce component label","required":true}},"args":[]},"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","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":"salesforcedx-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)","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","options":["DefaultVFPage"],"default":"DefaultVFPage"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"folder for saving the created files","default":"."},"pagename":{"name":"pagename","type":"option","char":"n","description":"name of the generated Visualforce page","required":true},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"label":{"name":"label","type":"option","char":"l","description":"Visualforce page label","required":true}},"args":[]}}}
\No newline at end of file