@salesforce/plugin-org 2.2.24 → 2.2.25

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/README.md +4 -0
  2. package/lib/commands/force/org/clone.d.ts +21 -9
  3. package/lib/commands/force/org/clone.js +50 -82
  4. package/lib/commands/force/org/clone.js.map +1 -1
  5. package/lib/commands/force/org/create.d.ts +27 -12
  6. package/lib/commands/force/org/create.js +85 -105
  7. package/lib/commands/force/org/create.js.map +1 -1
  8. package/lib/commands/force/org/delete.d.ts +14 -7
  9. package/lib/commands/force/org/delete.js +26 -16
  10. package/lib/commands/force/org/delete.js.map +1 -1
  11. package/lib/commands/force/org/status.d.ts +18 -6
  12. package/lib/commands/force/org/status.js +43 -37
  13. package/lib/commands/force/org/status.js.map +1 -1
  14. package/lib/commands/org/create/sandbox.d.ts +40 -0
  15. package/lib/commands/org/create/sandbox.js +244 -0
  16. package/lib/commands/org/create/sandbox.js.map +1 -0
  17. package/lib/commands/org/create/scratch.d.ts +30 -0
  18. package/lib/commands/org/create/scratch.js +183 -0
  19. package/lib/commands/org/create/scratch.js.map +1 -0
  20. package/lib/commands/org/delete/sandbox.d.ts +18 -0
  21. package/lib/commands/org/delete/sandbox.js +59 -0
  22. package/lib/commands/org/delete/sandbox.js.map +1 -0
  23. package/lib/commands/org/delete/scratch.d.ts +18 -0
  24. package/lib/commands/org/delete/scratch.js +52 -0
  25. package/lib/commands/org/delete/scratch.js.map +1 -0
  26. package/lib/commands/org/display.d.ts +20 -0
  27. package/lib/commands/{force/org → org}/display.js +38 -27
  28. package/lib/commands/org/display.js.map +1 -0
  29. package/lib/commands/org/list.d.ts +26 -0
  30. package/lib/commands/org/list.js +192 -0
  31. package/lib/commands/org/list.js.map +1 -0
  32. package/lib/commands/org/open.d.ts +25 -0
  33. package/lib/commands/{force/org → org}/open.js +47 -33
  34. package/lib/commands/org/open.js.map +1 -0
  35. package/lib/commands/org/resume/sandbox.d.ts +26 -0
  36. package/lib/commands/org/resume/sandbox.js +199 -0
  37. package/lib/commands/org/resume/sandbox.js.map +1 -0
  38. package/lib/commands/org/resume/scratch.d.ts +14 -0
  39. package/lib/commands/org/resume/scratch.js +61 -0
  40. package/lib/commands/org/resume/scratch.js.map +1 -0
  41. package/lib/shared/orgHighlighter.d.ts +2 -2
  42. package/lib/shared/orgHighlighter.js +7 -5
  43. package/lib/shared/orgHighlighter.js.map +1 -1
  44. package/lib/shared/orgHooks.d.ts +24 -0
  45. package/lib/shared/orgHooks.js +9 -0
  46. package/lib/shared/orgHooks.js.map +1 -0
  47. package/lib/shared/orgListUtil.d.ts +15 -25
  48. package/lib/shared/orgListUtil.js +71 -81
  49. package/lib/shared/orgListUtil.js.map +1 -1
  50. package/lib/shared/orgTypes.d.ts +39 -11
  51. package/lib/shared/sandboxCommandBase.d.ts +33 -0
  52. package/lib/shared/sandboxCommandBase.js +168 -0
  53. package/lib/shared/sandboxCommandBase.js.map +1 -0
  54. package/lib/shared/sandboxProgress.d.ts +28 -0
  55. package/lib/shared/sandboxProgress.js +104 -0
  56. package/lib/shared/sandboxProgress.js.map +1 -0
  57. package/lib/shared/sandboxReporter.d.ts +1 -1
  58. package/lib/shared/sandboxRequest.d.ts +9 -0
  59. package/lib/shared/sandboxRequest.js +58 -0
  60. package/lib/shared/sandboxRequest.js.map +1 -0
  61. package/lib/shared/scratchOrgOutput.d.ts +9 -0
  62. package/lib/shared/scratchOrgOutput.js +47 -0
  63. package/lib/shared/scratchOrgOutput.js.map +1 -0
  64. package/lib/shared/stagedProgress.d.ts +33 -0
  65. package/lib/shared/stagedProgress.js +98 -0
  66. package/lib/shared/stagedProgress.js.map +1 -0
  67. package/lib/shared/timeUtils.d.ts +10 -0
  68. package/lib/shared/timeUtils.js +37 -0
  69. package/lib/shared/timeUtils.js.map +1 -0
  70. package/lib/shared/utils.d.ts +1 -1
  71. package/lib/shared/utils.js.map +1 -1
  72. package/messages/clone.md +67 -0
  73. package/messages/create.md +125 -0
  74. package/messages/create.sandbox.md +123 -0
  75. package/messages/create_scratch.md +109 -0
  76. package/messages/delete.md +47 -0
  77. package/messages/delete_sandbox.md +46 -0
  78. package/messages/delete_scratch.md +42 -0
  79. package/messages/display.md +33 -0
  80. package/messages/list.md +65 -0
  81. package/messages/messages.md +81 -0
  82. package/messages/open.md +63 -0
  83. package/messages/resume.sandbox.md +71 -0
  84. package/messages/resume_scratch.md +41 -0
  85. package/messages/sandboxbase.md +17 -0
  86. package/messages/status.md +33 -0
  87. package/oclif.manifest.json +1194 -1
  88. package/package.json +136 -26
  89. package/lib/commands/force/org/display.d.ts +0 -11
  90. package/lib/commands/force/org/display.js.map +0 -1
  91. package/lib/commands/force/org/list.d.ts +0 -15
  92. package/lib/commands/force/org/list.js +0 -191
  93. package/lib/commands/force/org/list.js.map +0 -1
  94. package/lib/commands/force/org/open.d.ts +0 -15
  95. package/lib/commands/force/org/open.js.map +0 -1
  96. package/messages/clone.json +0 -24
  97. package/messages/create.json +0 -37
  98. package/messages/delete.json +0 -13
  99. package/messages/display.json +0 -11
  100. package/messages/list.json +0 -19
  101. package/messages/messages.json +0 -24
  102. package/messages/open.json +0 -19
  103. package/messages/status.json +0 -13
@@ -1 +1,1194 @@
1
- {"version":"2.2.24","commands":{"force:org:clone":{"id":"force:org:clone","description":"clone a sandbox org\nThere are two ways to clone a sandbox: either specify a sandbox definition file or provide key=value pairs at the command line. Key-value pairs at the command-line override their equivalent sandbox definition file values. In either case, you must specify both the \"SandboxName\" and \"SourceSandboxName\" options to set the names of the new sandbox and the one being cloned, respectively. \n\nSet the --targetusername (-u) parameter to a production org with sandbox licenses. The --type (-t) parameter is required and must be set to \"sandbox\".","strict":true,"usage":"<%= command.id %> [name=value...] -t sandbox [-f <filepath>] [-s] [-a <string>] [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:clone -t sandbox -f config/dev-sandbox-def.json -u prodOrg -a MyDevSandbox","$ sfdx force:org:clone -t sandbox SandboxName=NewClonedSandbox SourceSandboxName=ExistingSandbox -u prodOrg -a MyDevSandbox"],"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"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"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","char":"t","description":"type of org to create","required":true,"helpValue":"(sandbox)","multiple":false,"options":["sandbox"]},"definitionfile":{"name":"definitionfile","type":"option","char":"f","description":"path to the sandbox definition file","multiple":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the cloned org as your default","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"alias for the cloned org","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"number of minutes to wait while polling for status","multiple":false,"default":{"quantity":6,"unit":0}}},"args":[],"requiresProject":false,"requiresUsername":true,"varargs":true,"SANDBOXDEF_SRC_SANDBOXNAME":"SourceSandboxName","flagsConfig":{"type":{"kind":"enum","helpValue":"(sandbox)","char":"t","description":"type of org to create","required":true,"options":["sandbox"],"input":[],"multiple":false,"type":"option"},"definitionfile":{"kind":"filepath","char":"f","description":"path to the sandbox definition file","input":[],"multiple":false,"type":"option"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the cloned org as your default","allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"alias for the cloned org","input":[],"multiple":false,"type":"option"},"wait":{"kind":"minutes","char":"w","description":"number of minutes to wait while polling for status","longDescription":"Sets the streaming client socket timeout, in minutes. If the streaming client socket has no contact from the server for a number of minutes, the client exits. Specify a longer wait time if timeouts occur frequently.","min":{"quantity":2,"unit":0},"default":{"quantity":6,"unit":0},"input":[],"multiple":false,"type":"option"}}},"force:org:create":{"id":"force:org:create","description":"create a scratch or sandbox org \nCreates a scratch org or a sandbox org using the values specified in a configuration file or key=value pairs that you specify on the command line. Values specified on the command line override values in the configuration file. Specify a configuration file or provide key=value pairs while creating a scratch org or a sandbox. When creating scratch orgs, —targetdevhubusername (-v) must be a Dev Hub org. When creating sandboxes, the --targetusername (-u) must be a production org with sandbox licenses. The —type (-t) is required if creating a sandbox.\n\n","strict":true,"usage":"<%= command.id %> [name=value...] [-t scratch|sandbox] [-f <filepath>] [-n] [-c] [-i <string>] [-s] [-a <string>] [-w <minutes>] [-d <integer>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":["force:org:beta:create"],"examples":["$ sfdx force:org:create -f config/enterprise-scratch-def.json -a MyScratchOrg","$ sfdx force:org:create edition=Developer -a MyScratchOrg -s -v devHub","$ sfdx force:org:create -f config/enterprise-scratch-def.json -a ScratchOrgWithOverrides username=testuser1@mycompany.org","$ sfdx force:org:create -t sandbox -f config/dev-sandbox-def.json -a MyDevSandbox -u prodOrg"],"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"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"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","char":"t","description":"type of org to create","helpValue":"(scratch|sandbox)","multiple":false,"options":["scratch","sandbox"],"default":"scratch"},"definitionfile":{"name":"definitionfile","type":"option","char":"f","description":"path to an org definition file","multiple":false},"nonamespace":{"name":"nonamespace","type":"boolean","char":"n","description":"create the scratch org with no namespace","allowNo":false},"noancestors":{"name":"noancestors","type":"boolean","char":"c","description":"do not include second-generation package ancestors in the scratch org","allowNo":false},"clientid":{"name":"clientid","type":"option","char":"i","description":"connected app consumer key; not supported for sandbox org creation","multiple":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the created org as the default username","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"alias for the created org","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"the streaming client socket timeout (in minutes)","multiple":false,"default":{"quantity":6,"unit":0}},"durationdays":{"name":"durationdays","type":"option","char":"d","description":"duration of the scratch org (in days) (default:7, min:1, max:30)","multiple":false,"default":7},"retry":{"name":"retry","type":"option","description":"Number of scratch org auth retries after scratch org is successfully signed up.","hidden":true,"multiple":false,"default":0}},"args":[],"supportsDevhubUsername":true,"supportsUsername":true,"varargs":true,"flagsConfig":{"type":{"kind":"enum","helpValue":"(scratch|sandbox)","char":"t","description":"type of org to create","options":["scratch","sandbox"],"default":"scratch","input":[],"multiple":false,"type":"option"},"definitionfile":{"kind":"filepath","char":"f","description":"path to an org definition file","input":[],"multiple":false,"type":"option"},"nonamespace":{"kind":"boolean","char":"n","description":"create the scratch org with no namespace","allowNo":false,"type":"boolean"},"noancestors":{"kind":"boolean","char":"c","description":"do not include second-generation package ancestors in the scratch org","allowNo":false,"type":"boolean"},"clientid":{"kind":"string","char":"i","description":"connected app consumer key; not supported for sandbox org creation","input":[],"multiple":false,"type":"option"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the created org as the default username","allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"alias for the created org","input":[],"multiple":false,"type":"option"},"wait":{"kind":"minutes","char":"w","description":"the streaming client socket timeout (in minutes)","min":6,"default":{"quantity":6,"unit":0},"input":[],"multiple":false,"type":"option"},"durationdays":{"kind":"integer","char":"d","description":"duration of the scratch org (in days) (default:7, min:1, max:30)","min":1,"max":30,"default":7,"input":[],"multiple":false,"type":"option"},"retry":{"kind":"number","hidden":true,"default":0,"max":10,"description":"Number of scratch org auth retries after scratch org is successfully signed up.","input":[],"multiple":false,"type":"option"}}},"force:org:delete":{"id":"force:org:delete","description":"mark a scratch or sandbox org for deletion \nTo mark the org for deletion without being prompted to confirm, specify --noprompt.","strict":true,"usage":"<%= command.id %> [-p] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:delete -u me@my.org","$ sfdx force:org:delete -u MyOrgAlias -p"],"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"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"no prompt to confirm deletion","allowNo":false}},"args":[],"requiresUsername":true,"supportsDevhubUsername":true,"flagsConfig":{"noprompt":{"kind":"boolean","char":"p","description":"no prompt to confirm deletion","allowNo":false,"type":"boolean"}}},"force:org:display":{"id":"force:org:display","description":"get the description for the current or target org\nOutput includes your access token, client Id, connected status, org ID, instance URL, username, and alias, if applicable.\nUse --verbose to include the SFDX auth URL. WARNING: The SFDX auth URL contains sensitive information, such as a refresh token that can be used to access an org. Don't share or distribute this URL or token.\nIncluding --verbose displays the sfdxAuthUrl property only if you authenticated to the org using auth:web:login (not auth:jwt:grant)","strict":true,"usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:display","$ sfdx force:org:display -u me@my.org","$ sfdx force:org:display -u TestOrg1 --json","$ sfdx force:org:display -u TestOrg1 --json > tmp/MyOrgDesc.json"],"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"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"verbose":{"name":"verbose","type":"boolean","description":"emit additional command output to stdout","allowNo":false}},"args":[],"requiresUsername":true,"flagsConfig":{"verbose":{"type":"boolean","kind":"boolean","description":"emit additional command output to stdout","longDescription":"Emit additional command output to stdout.","allowNo":false}}},"force:org:list":{"id":"force:org:list","description":"list all orgs you’ve created or authenticated to","strict":true,"usage":"<%= command.id %> [--all] [-p --clean] [--skipconnectionstatus] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:list","$ sfdx force:org:list --verbose --json","$ sfdx force:org:list --verbose --json > tmp/MyOrgList.json"],"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"},"verbose":{"name":"verbose","type":"boolean","description":"list more information about each org","allowNo":false},"all":{"name":"all","type":"boolean","description":"include expired, deleted, and unknown-status scratch orgs","allowNo":false},"clean":{"name":"clean","type":"boolean","description":"remove all local org authorizations for non-active scratch orgs. Use auth:logout to remove non-scratch orgs","allowNo":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for confirmation","allowNo":false,"dependsOn":["clean"]},"skipconnectionstatus":{"name":"skipconnectionstatus","type":"boolean","description":"skip retrieving the connection status of non-scratch orgs","allowNo":false}},"args":[],"requiresProject":false,"flagsConfig":{"verbose":{"description":"list more information about each org","type":"boolean","kind":"boolean","longDescription":"Emit additional command output to stdout.","allowNo":false},"all":{"kind":"boolean","description":"include expired, deleted, and unknown-status scratch orgs","allowNo":false,"type":"boolean"},"clean":{"kind":"boolean","description":"remove all local org authorizations for non-active scratch orgs. Use auth:logout to remove non-scratch orgs","allowNo":false,"type":"boolean"},"noprompt":{"kind":"boolean","char":"p","description":"do not prompt for confirmation","dependsOn":["clean"],"allowNo":false,"type":"boolean"},"skipconnectionstatus":{"kind":"boolean","description":"skip retrieving the connection status of non-scratch orgs","allowNo":false,"type":"boolean"}}},"force:org:open":{"id":"force:org:open","description":"open your default scratch org, or another specified org\nTo open a specific page, specify the portion of the URL after \"https://MyDomainName.my.salesforce.com/\" as --path.\nFor example, specify \"--path lightning\" to open Lightning Experience, or specify \"--path /apex/YourPage\" to open a Visualforce page.\nTo generate a URL but not launch it in your browser, specify --urlonly.\nTo open in a specific browser, use the --browser parameter. Supported browsers are \"chrome\", \"edge\", and \"firefox\". If you don't specify --browser, the org opens in your default browser.","strict":true,"usage":"<%= command.id %> [-b <string> | -r] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:open","$ sfdx force:org:open -u me@my.org","$ sfdx force:org:open -u MyTestOrg1","$ sfdx force:org:open -r -p lightning","$ sfdx force:org:open -u me@my.org -b firefox"],"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"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"browser":{"name":"browser","type":"option","char":"b","description":"browser where the org opens","multiple":false,"options":["chrome","edge","firefox"],"exclusive":["urlonly"]},"path":{"name":"path","type":"option","char":"p","description":"navigation URL path","multiple":false},"urlonly":{"name":"urlonly","type":"boolean","char":"r","description":"display navigation URL, but don’t launch browser","allowNo":false}},"args":[],"requiresUsername":true,"flagsConfig":{"browser":{"kind":"string","char":"b","description":"browser where the org opens","options":["chrome","edge","firefox"],"exclusive":["urlonly"],"input":[],"multiple":false,"type":"option"},"path":{"kind":"string","char":"p","description":"navigation URL path","env":"FORCE_OPEN_URL","input":[],"multiple":false,"type":"option"},"urlonly":{"kind":"boolean","char":"r","description":"display navigation URL, but don’t launch browser","allowNo":false,"type":"boolean"}}},"force:org:status":{"id":"force:org:status","description":"report status of sandbox creation or clone and authenticate to it\nUse this command to check the status of your sandbox creation or clone and, if the sandbox is ready, authenticate to it.\nUse the --wait (-w) parameter to specify the number of minutes that the command waits for the sandbox creation or clone to complete before returning control of the terminal to you.\nSet the --targetusername (-u) parameter to the username or alias of the production org that contains the sandbox license.","strict":true,"usage":"<%= command.id %> -n <string> [-s] [-a <string>] [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:status --sandboxname DevSbx1 --setalias MySandbox -u prodOrg","$ sfdx force:org:status --sandboxname DevSbx1 --wait 45 --setdefaultusername -u prodOrg"],"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"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"sandboxname":{"name":"sandboxname","type":"option","char":"n","description":"name of the sandbox org to check status for","required":true,"multiple":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the created or cloned org as your default","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"alias for the created or cloned org","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"number of minutes to wait while polling for status","multiple":false,"default":{"quantity":6,"unit":0}}},"args":[],"requiresProject":false,"requiresUsername":true,"flagsConfig":{"sandboxname":{"kind":"string","char":"n","description":"name of the sandbox org to check status for","required":true,"input":[],"multiple":false,"type":"option"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the created or cloned org as your default","allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"alias for the created or cloned org","input":[],"multiple":false,"type":"option"},"wait":{"kind":"minutes","char":"w","description":"number of minutes to wait while polling for status","min":{"quantity":2,"unit":0},"default":{"quantity":6,"unit":0},"input":[],"multiple":false,"type":"option"}}}}}
1
+ {
2
+ "version": "2.2.25",
3
+ "commands": {
4
+ "org:display": {
5
+ "id": "org:display",
6
+ "summary": "Display information about an org.",
7
+ "description": "Output includes your access token, client Id, connected status, org ID, instance URL, username, and alias, if applicable.\n\nUse --verbose to include the SFDX auth URL. WARNING: The SFDX auth URL contains sensitive information, such as a refresh token that can be used to access an org. Don't share or distribute this URL or token.\n\nIncluding --verbose displays the sfdxAuthUrl property only if you authenticated to the org using auth:web:login (not auth:jwt:grant).",
8
+ "strict": true,
9
+ "pluginName": "@salesforce/plugin-org",
10
+ "pluginAlias": "@salesforce/plugin-org",
11
+ "pluginType": "core",
12
+ "aliases": [
13
+ "force:org:display"
14
+ ],
15
+ "examples": [
16
+ "Display information about your default org:\n$ <%= config.bin %> <%= command.id %>",
17
+ "Display information, including the sfdxAuthUrl property, about the org with alias TestOrg1:\n$ <%= config.bin %> <%= command.id %> --target-org TestOrg1 --verbose"
18
+ ],
19
+ "deprecateAliases": true,
20
+ "flags": {
21
+ "json": {
22
+ "name": "json",
23
+ "type": "boolean",
24
+ "description": "Format output as json.",
25
+ "helpGroup": "GLOBAL",
26
+ "allowNo": false,
27
+ "deprecateAliases": true
28
+ },
29
+ "target-org": {
30
+ "name": "target-org",
31
+ "type": "option",
32
+ "char": "o",
33
+ "summary": "Username or alias of the target org.",
34
+ "required": true,
35
+ "multiple": false,
36
+ "deprecateAliases": true,
37
+ "aliases": [
38
+ "targetusername",
39
+ "u"
40
+ ]
41
+ },
42
+ "api-version": {
43
+ "name": "api-version",
44
+ "type": "option",
45
+ "description": "Override the api version used for api requests made by this command",
46
+ "multiple": false,
47
+ "deprecateAliases": true,
48
+ "aliases": [
49
+ "apiversion"
50
+ ]
51
+ },
52
+ "verbose": {
53
+ "name": "verbose",
54
+ "type": "boolean",
55
+ "summary": "Display the sfdxAuthUrl property.",
56
+ "allowNo": false,
57
+ "deprecateAliases": true
58
+ },
59
+ "loglevel": {
60
+ "name": "loglevel",
61
+ "type": "option",
62
+ "hidden": true,
63
+ "multiple": false,
64
+ "deprecated": {
65
+ "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."
66
+ },
67
+ "deprecateAliases": true
68
+ }
69
+ },
70
+ "args": {},
71
+ "hasDynamicHelp": true
72
+ },
73
+ "org:list": {
74
+ "id": "org:list",
75
+ "summary": "List all orgs you’ve created or authenticated to.",
76
+ "strict": true,
77
+ "pluginName": "@salesforce/plugin-org",
78
+ "pluginAlias": "@salesforce/plugin-org",
79
+ "pluginType": "core",
80
+ "aliases": [
81
+ "force:org:list"
82
+ ],
83
+ "examples": [
84
+ "List all orgs you've created or authenticated to:\n$ <%= config.bin %> <%= command.id %>",
85
+ "List all orgs, including expired, deleted, and unknown-status orgs; don't include the connection status:\n$ <%= config.bin %> <%= command.id %> --skip-connection-status --all",
86
+ "List orgs and remove local org authorization info about non-active scratch orgs:\n$ <%= config.bin %> <%= command.id %> --clean"
87
+ ],
88
+ "deprecateAliases": true,
89
+ "flags": {
90
+ "json": {
91
+ "name": "json",
92
+ "type": "boolean",
93
+ "description": "Format output as json.",
94
+ "helpGroup": "GLOBAL",
95
+ "allowNo": false,
96
+ "deprecateAliases": true
97
+ },
98
+ "verbose": {
99
+ "name": "verbose",
100
+ "type": "boolean",
101
+ "summary": "List more information about each org.",
102
+ "allowNo": false,
103
+ "deprecateAliases": true
104
+ },
105
+ "all": {
106
+ "name": "all",
107
+ "type": "boolean",
108
+ "summary": "Include expired, deleted, and unknown-status scratch orgs.",
109
+ "allowNo": false,
110
+ "deprecateAliases": true
111
+ },
112
+ "clean": {
113
+ "name": "clean",
114
+ "type": "boolean",
115
+ "summary": "Remove all local org authorizations for non-active scratch orgs. Use auth:logout to remove non-scratch orgs.",
116
+ "allowNo": false,
117
+ "deprecateAliases": true
118
+ },
119
+ "no-prompt": {
120
+ "name": "no-prompt",
121
+ "type": "boolean",
122
+ "char": "p",
123
+ "summary": "Don't prompt for confirmation.",
124
+ "allowNo": false,
125
+ "dependsOn": [
126
+ "clean"
127
+ ],
128
+ "deprecateAliases": true,
129
+ "aliases": [
130
+ "noprompt"
131
+ ]
132
+ },
133
+ "skip-connection-status": {
134
+ "name": "skip-connection-status",
135
+ "type": "boolean",
136
+ "summary": "Skip retrieving the connection status of non-scratch orgs.",
137
+ "allowNo": false,
138
+ "deprecateAliases": true,
139
+ "aliases": [
140
+ "skipconnectionstatus"
141
+ ]
142
+ },
143
+ "loglevel": {
144
+ "name": "loglevel",
145
+ "type": "option",
146
+ "hidden": true,
147
+ "multiple": false,
148
+ "deprecated": {
149
+ "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."
150
+ },
151
+ "deprecateAliases": true
152
+ }
153
+ },
154
+ "args": {}
155
+ },
156
+ "org:open": {
157
+ "id": "org:open",
158
+ "summary": "Open your default scratch org, or another specified org, in a browser.",
159
+ "description": "To open a specific page, specify the portion of the URL after \"https://MyDomainName.my.salesforce.com/\" as the value for the --path flag. For example, specify \"--path lightning\" to open Lightning Experience, or specify \"--path /apex/YourPage\" to open a Visualforce page.\n\nTo generate a URL but not launch it in your browser, specify --url-only.\n\nTo open in a specific browser, use the --browser flag. Supported browsers are \"chrome\", \"edge\", and \"firefox\". If you don't specify --browser, the org opens in your default browser.",
160
+ "strict": true,
161
+ "pluginName": "@salesforce/plugin-org",
162
+ "pluginAlias": "@salesforce/plugin-org",
163
+ "pluginType": "core",
164
+ "aliases": [
165
+ "force:org:open"
166
+ ],
167
+ "examples": [
168
+ "Open your default org in your default browser:\n$ <%= config.bin %> <%= command.id %>",
169
+ "Open the org with alias MyTestOrg1 in the Firefox browser:\n$ <%= config.bin %> <%= command.id %> --target-org MyTestOrg1 --browser firefox",
170
+ "Display the navigation URL for the Lightning Experience page for your default org, but don't open the page in a browser:\n$ <%= config.bin %> <%= command.id %> --url-only --path lightning"
171
+ ],
172
+ "flags": {
173
+ "json": {
174
+ "name": "json",
175
+ "type": "boolean",
176
+ "description": "Format output as json.",
177
+ "helpGroup": "GLOBAL",
178
+ "allowNo": false
179
+ },
180
+ "target-org": {
181
+ "name": "target-org",
182
+ "type": "option",
183
+ "char": "o",
184
+ "summary": "Username or alias of the target org.",
185
+ "required": true,
186
+ "multiple": false,
187
+ "aliases": [
188
+ "targetusername",
189
+ "u"
190
+ ]
191
+ },
192
+ "api-version": {
193
+ "name": "api-version",
194
+ "type": "option",
195
+ "description": "Override the api version used for api requests made by this command",
196
+ "multiple": false,
197
+ "aliases": [
198
+ "apiversion"
199
+ ]
200
+ },
201
+ "browser": {
202
+ "name": "browser",
203
+ "type": "option",
204
+ "char": "b",
205
+ "summary": "Browser where the org opens.",
206
+ "multiple": false,
207
+ "options": [
208
+ "chrome",
209
+ "edge",
210
+ "firefox"
211
+ ],
212
+ "exclusive": [
213
+ "url-only"
214
+ ]
215
+ },
216
+ "path": {
217
+ "name": "path",
218
+ "type": "option",
219
+ "char": "p",
220
+ "summary": "Navigation URL path to open a specific page.",
221
+ "multiple": false
222
+ },
223
+ "url-only": {
224
+ "name": "url-only",
225
+ "type": "boolean",
226
+ "char": "r",
227
+ "summary": "Display navigation URL, but don’t launch browser.",
228
+ "allowNo": false,
229
+ "aliases": [
230
+ "urlonly"
231
+ ]
232
+ },
233
+ "loglevel": {
234
+ "name": "loglevel",
235
+ "type": "option",
236
+ "hidden": true,
237
+ "multiple": false,
238
+ "deprecated": {
239
+ "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."
240
+ }
241
+ }
242
+ },
243
+ "args": {},
244
+ "depreprecateAliases": true,
245
+ "hasDynamicHelp": true
246
+ },
247
+ "force:org:clone": {
248
+ "id": "force:org:clone",
249
+ "summary": "Clone a sandbox org.",
250
+ "description": "There are two ways to clone a sandbox: either specify a sandbox definition file or provide key=value pairs at the command line. Key-value pairs at the command-line override their equivalent sandbox definition file values. In either case, you must specify both the \"SandboxName\" and \"SourceSandboxName\" options to set the names of the new sandbox and the one being cloned, respectively.\n\nSet the --targetusername (-u) parameter to a production org with sandbox licenses. The --type (-t) parameter is required and must be set to \"sandbox\".",
251
+ "strict": false,
252
+ "pluginName": "@salesforce/plugin-org",
253
+ "pluginAlias": "@salesforce/plugin-org",
254
+ "pluginType": "core",
255
+ "state": "deprecated",
256
+ "aliases": [],
257
+ "examples": [
258
+ "$ <%= config.bin %> <%= command.id %> -t sandbox -f config/dev-sandbox-def.json -u prodOrg -a MyDevSandbox",
259
+ "$ <%= config.bin %> <%= command.id %> -t sandbox SandboxName=NewClonedSandbox SourceSandboxName=ExistingSandbox -u prodOrg -a MyDevSandbox"
260
+ ],
261
+ "deprecationOptions": {
262
+ "to": "org:create:sandbox",
263
+ "version": "60.0"
264
+ },
265
+ "flags": {
266
+ "json": {
267
+ "name": "json",
268
+ "type": "boolean",
269
+ "description": "Format output as json.",
270
+ "helpGroup": "GLOBAL",
271
+ "allowNo": false
272
+ },
273
+ "target-org": {
274
+ "name": "target-org",
275
+ "type": "option",
276
+ "char": "o",
277
+ "summary": "Username or alias of the target org.",
278
+ "required": true,
279
+ "multiple": false,
280
+ "aliases": [
281
+ "targetusername",
282
+ "u"
283
+ ]
284
+ },
285
+ "api-version": {
286
+ "name": "api-version",
287
+ "type": "option",
288
+ "description": "Override the api version used for api requests made by this command",
289
+ "multiple": false,
290
+ "aliases": [
291
+ "apiversion"
292
+ ]
293
+ },
294
+ "type": {
295
+ "name": "type",
296
+ "type": "option",
297
+ "char": "t",
298
+ "summary": "Type of org to create.",
299
+ "required": true,
300
+ "helpValue": "(sandbox)",
301
+ "multiple": false,
302
+ "options": [
303
+ "sandbox"
304
+ ]
305
+ },
306
+ "definitionfile": {
307
+ "name": "definitionfile",
308
+ "type": "option",
309
+ "char": "f",
310
+ "summary": "Path to the sandbox definition file.",
311
+ "multiple": false
312
+ },
313
+ "setdefaultusername": {
314
+ "name": "setdefaultusername",
315
+ "type": "boolean",
316
+ "char": "s",
317
+ "summary": "Set the cloned org as your default.",
318
+ "allowNo": false
319
+ },
320
+ "setalias": {
321
+ "name": "setalias",
322
+ "type": "option",
323
+ "char": "a",
324
+ "summary": "Alias for the cloned org.",
325
+ "multiple": false
326
+ },
327
+ "wait": {
328
+ "name": "wait",
329
+ "type": "option",
330
+ "char": "w",
331
+ "summary": "Number of minutes to wait while polling for status.",
332
+ "description": "Sets the streaming client socket timeout, in minutes. If the streaming client socket has no contact from the server for a number of minutes, the client exits. Specify a longer wait time if timeouts occur frequently.",
333
+ "multiple": false
334
+ },
335
+ "loglevel": {
336
+ "name": "loglevel",
337
+ "type": "option",
338
+ "hidden": true,
339
+ "multiple": false,
340
+ "deprecated": {
341
+ "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."
342
+ }
343
+ }
344
+ },
345
+ "args": {},
346
+ "SANDBOXDEF_SRC_SANDBOXNAME": "SourceSandboxName",
347
+ "hasDynamicHelp": true
348
+ },
349
+ "force:org:create": {
350
+ "id": "force:org:create",
351
+ "summary": "Create a scratch org or sandbox.",
352
+ "description": "Creates a scratch org or a sandbox org using the values specified in a configuration file or key=value pairs that you specify on the command line. Values specified on the command line override values in the configuration file. Specify a configuration file or provide key=value pairs while creating a scratch org or a sandbox. When creating scratch orgs, —targetdevhubusername (-v) must be a Dev Hub org. When creating sandboxes, the --targetusername (-u) must be a production org with sandbox licenses. The —type (-t) is required if creating a sandbox.",
353
+ "strict": false,
354
+ "pluginName": "@salesforce/plugin-org",
355
+ "pluginAlias": "@salesforce/plugin-org",
356
+ "pluginType": "core",
357
+ "aliases": [],
358
+ "examples": [
359
+ "$ <%= config.bin %> <%= command.id %> -f config/enterprise-scratch-def.json -a MyScratchOrg",
360
+ "$ <%= config.bin %> <%= command.id %> edition=Developer -a MyScratchOrg -s -v devHub",
361
+ "$ <%= config.bin %> <%= command.id %> -f config/enterprise-scratch-def.json -a ScratchOrgWithOverrides username=testuser1@mycompany.org",
362
+ "$ <%= config.bin %> <%= command.id %> -t sandbox -f config/dev-sandbox-def.json -a MyDevSandbox -u prodOrg"
363
+ ],
364
+ "flags": {
365
+ "json": {
366
+ "name": "json",
367
+ "type": "boolean",
368
+ "description": "Format output as json.",
369
+ "helpGroup": "GLOBAL",
370
+ "allowNo": false
371
+ },
372
+ "target-org": {
373
+ "name": "target-org",
374
+ "type": "option",
375
+ "char": "o",
376
+ "multiple": false,
377
+ "aliases": [
378
+ "targetusername",
379
+ "u"
380
+ ]
381
+ },
382
+ "target-dev-hub": {
383
+ "name": "target-dev-hub",
384
+ "type": "option",
385
+ "char": "v",
386
+ "summary": "Username or alias of the Dev Hub org.",
387
+ "required": false,
388
+ "multiple": false,
389
+ "aliases": [
390
+ "targetdevhubusername"
391
+ ]
392
+ },
393
+ "api-version": {
394
+ "name": "api-version",
395
+ "type": "option",
396
+ "description": "Override the api version used for api requests made by this command",
397
+ "multiple": false,
398
+ "aliases": [
399
+ "apiversion"
400
+ ]
401
+ },
402
+ "loglevel": {
403
+ "name": "loglevel",
404
+ "type": "option",
405
+ "hidden": true,
406
+ "multiple": false,
407
+ "deprecated": {
408
+ "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."
409
+ }
410
+ },
411
+ "type": {
412
+ "name": "type",
413
+ "type": "option",
414
+ "char": "t",
415
+ "summary": "Type of org to create.",
416
+ "helpValue": "(scratch|sandbox)",
417
+ "multiple": false,
418
+ "options": [
419
+ "scratch",
420
+ "sandbox"
421
+ ],
422
+ "default": "scratch"
423
+ },
424
+ "definitionfile": {
425
+ "name": "definitionfile",
426
+ "type": "option",
427
+ "char": "f",
428
+ "summary": "Path to an org definition file.",
429
+ "multiple": false
430
+ },
431
+ "nonamespace": {
432
+ "name": "nonamespace",
433
+ "type": "boolean",
434
+ "char": "n",
435
+ "summary": "Create the scratch org with no namespace.",
436
+ "allowNo": false
437
+ },
438
+ "noancestors": {
439
+ "name": "noancestors",
440
+ "type": "boolean",
441
+ "char": "c",
442
+ "summary": "Do not include second-generation package ancestors in the scratch org.",
443
+ "allowNo": false
444
+ },
445
+ "clientid": {
446
+ "name": "clientid",
447
+ "type": "option",
448
+ "char": "i",
449
+ "summary": "Connected app consumer key; not supported for sandbox org creation.",
450
+ "multiple": false
451
+ },
452
+ "setdefaultusername": {
453
+ "name": "setdefaultusername",
454
+ "type": "boolean",
455
+ "char": "s",
456
+ "summary": "Set the created org as the default username.",
457
+ "allowNo": false
458
+ },
459
+ "setalias": {
460
+ "name": "setalias",
461
+ "type": "option",
462
+ "char": "a",
463
+ "summary": "Alias for the created org.",
464
+ "multiple": false
465
+ },
466
+ "wait": {
467
+ "name": "wait",
468
+ "type": "option",
469
+ "char": "w",
470
+ "summary": "Streaming client socket timeout (in minutes).",
471
+ "multiple": false
472
+ },
473
+ "durationdays": {
474
+ "name": "durationdays",
475
+ "type": "option",
476
+ "char": "d",
477
+ "summary": "Duration of the scratch org (in days) (default:7, min:1, max:30).",
478
+ "multiple": false,
479
+ "default": 7
480
+ },
481
+ "retry": {
482
+ "name": "retry",
483
+ "type": "option",
484
+ "summary": "Number of scratch org auth retries after scratch org is successfully signed up.",
485
+ "hidden": true,
486
+ "multiple": false,
487
+ "default": 0
488
+ }
489
+ },
490
+ "args": {},
491
+ "hasDynamicHelp": true
492
+ },
493
+ "force:org:delete": {
494
+ "id": "force:org:delete",
495
+ "summary": "Delete a scratch or sandbox org.",
496
+ "description": "Salesforce CLI marks the org for deletion in either the Dev Hub org (for scratch orgs) or production org (for sandboxes) and then deletes all local references to the org from your computer.\n\nTo mark the org for deletion without being prompted to confirm, specify --noprompt.",
497
+ "strict": true,
498
+ "pluginName": "@salesforce/plugin-org",
499
+ "pluginAlias": "@salesforce/plugin-org",
500
+ "pluginType": "core",
501
+ "state": "deprecated",
502
+ "aliases": [],
503
+ "examples": [
504
+ "$ <%= config.bin %> <%= command.id %> -u me@my.org",
505
+ "$ <%= config.bin %> <%= command.id %> -u MyOrgAlias -p"
506
+ ],
507
+ "deprecationOptions": {
508
+ "message": "The force:org:delete command is deprecated. Use org:delete:scratch or org:delete:sandbox."
509
+ },
510
+ "flags": {
511
+ "json": {
512
+ "name": "json",
513
+ "type": "boolean",
514
+ "description": "Format output as json.",
515
+ "helpGroup": "GLOBAL",
516
+ "allowNo": false
517
+ },
518
+ "target-org": {
519
+ "name": "target-org",
520
+ "type": "option",
521
+ "char": "o",
522
+ "summary": "Username or alias of the target org.",
523
+ "required": true,
524
+ "multiple": false,
525
+ "aliases": [
526
+ "targetusername",
527
+ "u"
528
+ ]
529
+ },
530
+ "api-version": {
531
+ "name": "api-version",
532
+ "type": "option",
533
+ "description": "Override the api version used for api requests made by this command",
534
+ "multiple": false,
535
+ "aliases": [
536
+ "apiversion"
537
+ ]
538
+ },
539
+ "no-prompt": {
540
+ "name": "no-prompt",
541
+ "type": "boolean",
542
+ "char": "p",
543
+ "summary": "No prompt to confirm deletion.",
544
+ "allowNo": false,
545
+ "aliases": [
546
+ "noprompt"
547
+ ]
548
+ },
549
+ "loglevel": {
550
+ "name": "loglevel",
551
+ "type": "option",
552
+ "hidden": true,
553
+ "multiple": false,
554
+ "deprecated": {
555
+ "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."
556
+ }
557
+ }
558
+ },
559
+ "args": {},
560
+ "hasDynamicHelp": true
561
+ },
562
+ "force:org:status": {
563
+ "id": "force:org:status",
564
+ "summary": "Check the status of a sandbox, and if complete, authenticate to it.",
565
+ "description": "Use this command to check the status of your sandbox creation or clone and, if the sandbox is ready, authenticate to it.\n\nUse the --wait (-w) parameter to specify the number of minutes that the command waits for the sandbox creation or clone to complete before returning control of the terminal to you.\n\nSet the --target-org (-o) parameter to the username or alias of the production org that contains the sandbox license.",
566
+ "strict": true,
567
+ "pluginName": "@salesforce/plugin-org",
568
+ "pluginAlias": "@salesforce/plugin-org",
569
+ "pluginType": "core",
570
+ "state": "deprecated",
571
+ "aliases": [],
572
+ "examples": [
573
+ "$ <%= config.bin %> <%= command.id %> --sandboxname DevSbx1 --setalias MySandbox -u prodOrg",
574
+ "$ <%= config.bin %> <%= command.id %> --sandboxname DevSbx1 --wait 45 --setdefaultusername -u prodOrg"
575
+ ],
576
+ "deprecationOptions": {
577
+ "to": "org:resume:sandbox",
578
+ "version": "60.0"
579
+ },
580
+ "flags": {
581
+ "json": {
582
+ "name": "json",
583
+ "type": "boolean",
584
+ "description": "Format output as json.",
585
+ "helpGroup": "GLOBAL",
586
+ "allowNo": false
587
+ },
588
+ "target-org": {
589
+ "name": "target-org",
590
+ "type": "option",
591
+ "char": "o",
592
+ "summary": "Username or alias of the target org.",
593
+ "required": true,
594
+ "multiple": false,
595
+ "aliases": [
596
+ "targetusername",
597
+ "u"
598
+ ]
599
+ },
600
+ "api-version": {
601
+ "name": "api-version",
602
+ "type": "option",
603
+ "description": "Override the api version used for api requests made by this command",
604
+ "multiple": false,
605
+ "aliases": [
606
+ "apiversion"
607
+ ]
608
+ },
609
+ "sandboxname": {
610
+ "name": "sandboxname",
611
+ "type": "option",
612
+ "char": "n",
613
+ "summary": "Name of the sandbox org to check status for.",
614
+ "required": true,
615
+ "multiple": false
616
+ },
617
+ "setdefaultusername": {
618
+ "name": "setdefaultusername",
619
+ "type": "boolean",
620
+ "char": "s",
621
+ "summary": "Set the created or cloned org as your default.",
622
+ "allowNo": false
623
+ },
624
+ "setalias": {
625
+ "name": "setalias",
626
+ "type": "option",
627
+ "char": "a",
628
+ "summary": "Alias for the created or cloned org.",
629
+ "multiple": false
630
+ },
631
+ "wait": {
632
+ "name": "wait",
633
+ "type": "option",
634
+ "char": "w",
635
+ "summary": "Number of minutes to wait while polling for status.",
636
+ "multiple": false
637
+ },
638
+ "loglevel": {
639
+ "name": "loglevel",
640
+ "type": "option",
641
+ "hidden": true,
642
+ "multiple": false,
643
+ "deprecated": {
644
+ "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."
645
+ }
646
+ }
647
+ },
648
+ "args": {},
649
+ "hasDynamicHelp": true
650
+ },
651
+ "org:create:sandbox": {
652
+ "id": "org:create:sandbox",
653
+ "summary": "Create a sandbox org.",
654
+ "description": "There are two ways to create a sandbox org: specify a definition file that contains the sandbox options or use the --name and --license-type flags to specify the two required options. If you want to set an option other than name or license type, such as apexClassId, you must use a definition file.",
655
+ "strict": true,
656
+ "pluginName": "@salesforce/plugin-org",
657
+ "pluginAlias": "@salesforce/plugin-org",
658
+ "pluginType": "core",
659
+ "state": "beta",
660
+ "aliases": [
661
+ "env:create:sandbox"
662
+ ],
663
+ "examples": [
664
+ "Create a sandbox org using a definition file and give it the alias \"MyDevSandbox\". The production org that contains the sandbox license has the alias \"prodOrg\".\n<%= config.bin %> <%= command.id %> -f config/dev-sandbox-def.json --alias MyDevSandbox --target-org prodOrg",
665
+ "Create a sandbox org by directly specifying its name and type of license (Developer) instead of using a definition file. Set the sandbox org as your default.\n<%= config.bin %> <%= command.id %> --name mysandbox --license-type Developer --alias MyDevSandbox --target-org prodOrg --set-default"
666
+ ],
667
+ "deprecateAliases": true,
668
+ "flags": {
669
+ "json": {
670
+ "name": "json",
671
+ "type": "boolean",
672
+ "description": "Format output as json.",
673
+ "helpGroup": "GLOBAL",
674
+ "allowNo": false,
675
+ "deprecateAliases": true
676
+ },
677
+ "definition-file": {
678
+ "name": "definition-file",
679
+ "type": "option",
680
+ "char": "f",
681
+ "summary": "Path to a sandbox definition file.",
682
+ "description": "The sandbox definition file is a blueprint for the sandbox. You can create different definition files for each sandbox type that you use in the development process. See <https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_sandbox_definition.htm> for all the options you can specify in the defintion file.",
683
+ "multiple": false,
684
+ "exclusive": [
685
+ "name",
686
+ "license-type"
687
+ ],
688
+ "deprecateAliases": true
689
+ },
690
+ "set-default": {
691
+ "name": "set-default",
692
+ "type": "boolean",
693
+ "char": "s",
694
+ "summary": "Set the sandbox org as your default org.",
695
+ "allowNo": false,
696
+ "deprecateAliases": true
697
+ },
698
+ "alias": {
699
+ "name": "alias",
700
+ "type": "option",
701
+ "char": "a",
702
+ "summary": "Alias for the sandbox org.",
703
+ "description": "When you create a sandbox, the generated usernames are based on the usernames present in the production org. To ensure uniqueness, the new usernames are appended with the name of the sandbox. For example, the username \"user@example.com\" in the production org results in the username \"user@example.com.mysandbox\" in a sandbox named \"mysandbox\". When you set an alias for a sandbox org, it's assigned to the resulting username of the user running this command.",
704
+ "multiple": false,
705
+ "deprecateAliases": true
706
+ },
707
+ "wait": {
708
+ "name": "wait",
709
+ "type": "option",
710
+ "char": "w",
711
+ "summary": "Number of minutes to wait for the sandbox org to be ready.",
712
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal to you and displays the \"<%= config.bin %> org resume sandbox\" command you run to check the status of the create. The displayed command includes the job ID for the running sandbox creation.",
713
+ "helpValue": "<minutes>",
714
+ "multiple": false,
715
+ "exclusive": [
716
+ "async"
717
+ ],
718
+ "deprecateAliases": true
719
+ },
720
+ "poll-interval": {
721
+ "name": "poll-interval",
722
+ "type": "option",
723
+ "char": "i",
724
+ "summary": "Number of seconds to wait between retries.",
725
+ "helpValue": "<seconds>",
726
+ "multiple": false,
727
+ "exclusive": [
728
+ "async"
729
+ ],
730
+ "deprecateAliases": true
731
+ },
732
+ "async": {
733
+ "name": "async",
734
+ "type": "boolean",
735
+ "summary": "Request the sandbox creation, but don't wait for it to complete.",
736
+ "description": "The command immediately displays the job ID and returns control of the terminal to you. This way, you can continue to use the CLI. To check the status of the sandbox creation, run \"<%= config.bin %> org resume sandbox\".",
737
+ "allowNo": false,
738
+ "exclusive": [
739
+ "wait",
740
+ "poll-interval"
741
+ ],
742
+ "deprecateAliases": true
743
+ },
744
+ "name": {
745
+ "name": "name",
746
+ "type": "option",
747
+ "char": "n",
748
+ "summary": "Name of the sandbox org.",
749
+ "description": "The name must be a unique alphanumeric string (10 or fewer characters) to identify the sandbox. You can’t reuse a name while a sandbox is in the process of being deleted.",
750
+ "multiple": false,
751
+ "exclusive": [
752
+ "definition-file"
753
+ ],
754
+ "deprecateAliases": true
755
+ },
756
+ "clone": {
757
+ "name": "clone",
758
+ "type": "option",
759
+ "char": "c",
760
+ "summary": "Name of the sandbox org to clone.",
761
+ "description": "The value of clone must be an existing sandbox in the same target-org.",
762
+ "multiple": false,
763
+ "exclusive": [
764
+ "license-type"
765
+ ],
766
+ "deprecateAliases": true
767
+ },
768
+ "license-type": {
769
+ "name": "license-type",
770
+ "type": "option",
771
+ "char": "l",
772
+ "summary": "Type of sandbox license.",
773
+ "helpValue": "(Developer|Developer_Pro|Partial|Full)",
774
+ "multiple": false,
775
+ "options": [
776
+ "Developer",
777
+ "Developer_Pro",
778
+ "Partial",
779
+ "Full"
780
+ ],
781
+ "exclusive": [
782
+ "definition-file",
783
+ "clone"
784
+ ],
785
+ "default": "Developer",
786
+ "deprecateAliases": true
787
+ },
788
+ "target-org": {
789
+ "name": "target-org",
790
+ "type": "option",
791
+ "char": "o",
792
+ "summary": "Username or alias of the production org that contains the sandbox license.",
793
+ "description": "When it creates the sandbox org, Salesforce copies the metadata, and optionally data, from your production org to the new sandbox org.",
794
+ "required": true,
795
+ "multiple": false,
796
+ "deprecateAliases": true
797
+ },
798
+ "no-prompt": {
799
+ "name": "no-prompt",
800
+ "type": "boolean",
801
+ "summary": "Don't prompt for confirmation about the sandbox configuration.",
802
+ "allowNo": false,
803
+ "deprecateAliases": true
804
+ },
805
+ "no-track-source": {
806
+ "name": "no-track-source",
807
+ "type": "boolean",
808
+ "summary": "Do not use source tracking for this sandbox.",
809
+ "description": "We recommend you enable source tracking in Developer and Developer Pro sandbox, which is why it's the default behavior. Source tracking allows you to track the changes you make to your metadata, both in your local project and in the sandbox, and to detect any conflicts between the two.\n\nTo disable source tracking in the new sandbox, specify the --no-track-source flag. The main reason to disable source tracking is for performance. For example, while you probably want to deploy metadata and run Apex tests in your CI/CD jobs, you probably don't want to incur the costs of source tracking (checking for conflicts, polling the SourceMember object, various file system operations.) This is a good use case for disabling source tracking in the sandbox.",
810
+ "allowNo": false,
811
+ "deprecateAliases": true
812
+ }
813
+ },
814
+ "args": {},
815
+ "hasDynamicHelp": true
816
+ },
817
+ "org:create:scratch": {
818
+ "id": "org:create:scratch",
819
+ "summary": "Create a scratch org.",
820
+ "description": "There are two ways to create a scratch org: specify a definition file that contains the options or use the --edition flag to specify the one required option. If you want to set options other than the edition, such as org features or settings, you must use a definition file.\n\nYou must specify a Dev Hub to create a scratch org, either with the --target-dev-hub flag or by setting your default Dev Hub with the target-dev-hub configuration variable.",
821
+ "strict": true,
822
+ "pluginName": "@salesforce/plugin-org",
823
+ "pluginAlias": "@salesforce/plugin-org",
824
+ "pluginType": "core",
825
+ "state": "beta",
826
+ "aliases": [
827
+ "env:create:scratch"
828
+ ],
829
+ "examples": [
830
+ "Create a Developer edition scratch org using your default Dev Hub and give the scratch org an alias:\n<%= config.bin %> <%= command.id %> --edition=developer --alias my-scratch-org",
831
+ "Specify the Dev Hub using its alias and a scratch org definition file. Set the scratch org as your default and specify that it expires in 3 days:\n<%= config.bin %> <%= command.id %> --target-dev-hub=MyHub --definition-file config/project-scratch-def.json --set-default --duration-days 3"
832
+ ],
833
+ "deprecateAliases": true,
834
+ "flags": {
835
+ "json": {
836
+ "name": "json",
837
+ "type": "boolean",
838
+ "description": "Format output as json.",
839
+ "helpGroup": "GLOBAL",
840
+ "allowNo": false,
841
+ "deprecateAliases": true
842
+ },
843
+ "alias": {
844
+ "name": "alias",
845
+ "type": "option",
846
+ "char": "a",
847
+ "summary": "Alias for the scratch org.",
848
+ "description": "New scratch orgs include one administrator by default. The admin user's username is auto-generated and looks something like test-wvkpnfm5z113@example.com. When you set an alias for a new scratch org, it's assigned this username.",
849
+ "multiple": false,
850
+ "deprecateAliases": true
851
+ },
852
+ "async": {
853
+ "name": "async",
854
+ "type": "boolean",
855
+ "summary": "Request the org, but don't wait for it to complete.",
856
+ "description": "The command immediately displays the job ID and returns control of the terminal to you. This way, you can continue to use the CLI. To resume the scratch org creation, run \"<%= config.bin %> org resume scratch\".",
857
+ "allowNo": false,
858
+ "deprecateAliases": true
859
+ },
860
+ "set-default": {
861
+ "name": "set-default",
862
+ "type": "boolean",
863
+ "char": "d",
864
+ "summary": "Set the scratch org as your default org",
865
+ "allowNo": false,
866
+ "deprecateAliases": true
867
+ },
868
+ "definition-file": {
869
+ "name": "definition-file",
870
+ "type": "option",
871
+ "char": "f",
872
+ "summary": "Path to a scratch org definition file.",
873
+ "description": "The scratch org definition file is a blueprint for the scratch org. It mimics the shape of an org that you use in the development life cycle, such as acceptance testing, packaging, or production. See <https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_def_file.htm> for all the option you can specify in the definition file.",
874
+ "multiple": false,
875
+ "deprecateAliases": true
876
+ },
877
+ "target-dev-hub": {
878
+ "name": "target-dev-hub",
879
+ "type": "option",
880
+ "char": "v",
881
+ "summary": "Username or alias of the Dev Hub org.",
882
+ "description": "Overrides the value of the target-dev-hub configuration variable, if set.",
883
+ "required": true,
884
+ "multiple": false,
885
+ "deprecateAliases": true
886
+ },
887
+ "no-ancestors": {
888
+ "name": "no-ancestors",
889
+ "type": "boolean",
890
+ "char": "c",
891
+ "summary": "Don't include second-generation managed package (2GP) ancestors in the scratch org.",
892
+ "helpGroup": "Packaging",
893
+ "allowNo": false,
894
+ "deprecateAliases": true
895
+ },
896
+ "edition": {
897
+ "name": "edition",
898
+ "type": "option",
899
+ "char": "e",
900
+ "summary": "Salesforce edition of the scratch org.",
901
+ "description": "The editions that begin with \"partner-\" are available only if the Dev Hub org is a Partner Business Org.",
902
+ "multiple": false,
903
+ "options": [
904
+ "developer",
905
+ "enterprise",
906
+ "group",
907
+ "professional",
908
+ "partner-developer",
909
+ "partner-enterprise",
910
+ "partner-group",
911
+ "partner-professional"
912
+ ],
913
+ "deprecateAliases": true
914
+ },
915
+ "no-namespace": {
916
+ "name": "no-namespace",
917
+ "type": "boolean",
918
+ "char": "m",
919
+ "summary": "Create the scratch org with no namespace, even if the Dev Hub has a namespace.",
920
+ "helpGroup": "Packaging",
921
+ "allowNo": false,
922
+ "deprecateAliases": true
923
+ },
924
+ "duration-days": {
925
+ "name": "duration-days",
926
+ "type": "option",
927
+ "char": "y",
928
+ "summary": "Number of days before the org expires.",
929
+ "helpValue": "<days>",
930
+ "multiple": false,
931
+ "deprecateAliases": true
932
+ },
933
+ "wait": {
934
+ "name": "wait",
935
+ "type": "option",
936
+ "char": "w",
937
+ "summary": "Number of minutes to wait for the scratch org to be ready.",
938
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal to you and displays the job ID. To resume the scratch org creation, run the org resume scratch command and pass it the job ID.",
939
+ "helpValue": "<minutes>",
940
+ "multiple": false,
941
+ "deprecateAliases": true
942
+ },
943
+ "api-version": {
944
+ "name": "api-version",
945
+ "type": "option",
946
+ "description": "Override the api version used for api requests made by this command",
947
+ "multiple": false,
948
+ "deprecateAliases": true
949
+ },
950
+ "client-id": {
951
+ "name": "client-id",
952
+ "type": "option",
953
+ "char": "i",
954
+ "summary": "Consumer key of the Dev Hub connected app.",
955
+ "multiple": false,
956
+ "deprecateAliases": true
957
+ },
958
+ "track-source": {
959
+ "name": "track-source",
960
+ "type": "boolean",
961
+ "char": "t",
962
+ "summary": "Use source tracking for this scratch org. Set --no-track-source to disable source tracking.",
963
+ "description": "We recommend you enable source tracking in scratch orgs, which is why it's the default behavior. Source tracking allows you to track the changes you make to your metadata, both in your local project and in the scratch org, and to detect any conflicts between the two.\n\nTo disable source tracking in the new scratch org, specify the --no-track-source flag. The main reason to disable source tracking is for performance. For example, while you probably want to deploy metadata and run Apex tests in your CI/CD jobs, you probably don't want to incur the costs of source tracking (checking for conflicts, polling the SourceMember object, various file system operations.) This is a good use case for disabling source tracking in the scratch org.",
964
+ "allowNo": true,
965
+ "deprecateAliases": true
966
+ }
967
+ },
968
+ "args": {},
969
+ "hasDynamicHelp": true
970
+ },
971
+ "org:delete:sandbox": {
972
+ "id": "org:delete:sandbox",
973
+ "summary": "Delete a sandbox.",
974
+ "description": "Salesforce CLI marks the org for deletion in the production org that contains the sandbox licenses and then deletes all local references to the org from your computer.\nSpecify a sandbox with either the username you used when you logged into it, or the alias you gave the sandbox when you created it. Run \"<%= config.bin %> org list\" to view all your orgs, including sandboxes, and their aliases.",
975
+ "strict": true,
976
+ "pluginName": "@salesforce/plugin-org",
977
+ "pluginAlias": "@salesforce/plugin-org",
978
+ "pluginType": "core",
979
+ "state": "beta",
980
+ "aliases": [
981
+ "env:delete:sandbox"
982
+ ],
983
+ "examples": [
984
+ "Delete a sandbox with alias my-sandbox:\n<%= config.bin %> <%= command.id %> --target-org=my-sandbox",
985
+ "Specify a username instead of an alias:\n<%= config.bin %> <%= command.id %> --target-org=myusername@example.com.qa",
986
+ "Delete the sandbox without prompting to confirm :\n<%= config.bin %> <%= command.id %> --target-org=my-sandbox --no-prompt"
987
+ ],
988
+ "deprecateAliases": true,
989
+ "flags": {
990
+ "json": {
991
+ "name": "json",
992
+ "type": "boolean",
993
+ "description": "Format output as json.",
994
+ "helpGroup": "GLOBAL",
995
+ "allowNo": false,
996
+ "deprecateAliases": true
997
+ },
998
+ "target-org": {
999
+ "name": "target-org",
1000
+ "type": "option",
1001
+ "char": "o",
1002
+ "summary": "Sandbox alias or login user.",
1003
+ "required": true,
1004
+ "multiple": false,
1005
+ "deprecateAliases": true
1006
+ },
1007
+ "no-prompt": {
1008
+ "name": "no-prompt",
1009
+ "type": "boolean",
1010
+ "char": "p",
1011
+ "summary": "Don't prompt the user to confirm the deletion.",
1012
+ "allowNo": false,
1013
+ "deprecateAliases": true
1014
+ }
1015
+ },
1016
+ "args": {},
1017
+ "hasDynamicHelp": true
1018
+ },
1019
+ "org:delete:scratch": {
1020
+ "id": "org:delete:scratch",
1021
+ "summary": "Delete a scratch org.",
1022
+ "description": "Salesforce CLI marks the org for deletion in the Dev Hub org and then deletes all local references to the org from your computer.\nSpecify a scratch org with either the username or the alias you gave the scratch org when you created it. Run \"<%= config.bin %> org list\" to view all your orgs, including scratch orgs, and their aliases.",
1023
+ "strict": true,
1024
+ "pluginName": "@salesforce/plugin-org",
1025
+ "pluginAlias": "@salesforce/plugin-org",
1026
+ "pluginType": "core",
1027
+ "state": "beta",
1028
+ "aliases": [
1029
+ "env:delete:scratch"
1030
+ ],
1031
+ "examples": [
1032
+ "Delete a scratch org with alias my-scratch-org:\n<%= config.bin %> <%= command.id %> --target-org=my-scratch-org",
1033
+ "Specify a username instead of an alias:\n<%= config.bin %> <%= command.id %> --target-org=test-123456-abcdefg@example.com",
1034
+ "Delete the scratch org without prompting to confirm :\n<%= config.bin %> <%= command.id %> --target-org=my-scratch-org --no-prompt"
1035
+ ],
1036
+ "deprecateAliases": true,
1037
+ "flags": {
1038
+ "json": {
1039
+ "name": "json",
1040
+ "type": "boolean",
1041
+ "description": "Format output as json.",
1042
+ "helpGroup": "GLOBAL",
1043
+ "allowNo": false,
1044
+ "deprecateAliases": true
1045
+ },
1046
+ "target-org": {
1047
+ "name": "target-org",
1048
+ "type": "option",
1049
+ "char": "o",
1050
+ "summary": "Scratch org alias or login user.",
1051
+ "required": true,
1052
+ "multiple": false,
1053
+ "deprecateAliases": true
1054
+ },
1055
+ "no-prompt": {
1056
+ "name": "no-prompt",
1057
+ "type": "boolean",
1058
+ "char": "p",
1059
+ "summary": "Don't prompt the user to confirm the deletion.",
1060
+ "allowNo": false,
1061
+ "deprecateAliases": true
1062
+ }
1063
+ },
1064
+ "args": {},
1065
+ "hasDynamicHelp": true
1066
+ },
1067
+ "org:resume:sandbox": {
1068
+ "id": "org:resume:sandbox",
1069
+ "summary": "Check the status of a sandbox creation, and log in to it if it's ready.",
1070
+ "description": "Sandbox creation can take a long time. If the original \"<%= config.bin %> org create sandbox\" command either times out, or you specified the --async flag, the command displays a job ID. Use this job ID to check whether the sandbox creation is complete, and if it is, the command then logs into it.\n\nYou can also use the sandbox name to check the status or the --use-most-recent flag to use the job ID of the most recent sandbox creation.",
1071
+ "strict": true,
1072
+ "pluginName": "@salesforce/plugin-org",
1073
+ "pluginAlias": "@salesforce/plugin-org",
1074
+ "pluginType": "core",
1075
+ "state": "beta",
1076
+ "aliases": [
1077
+ "env:resume:sandbox"
1078
+ ],
1079
+ "examples": [
1080
+ "Check the status of a sandbox creation using its name and specify a production org with alias \"prodOrg\":\n<%= config.bin %> <%= command.id %> --name mysandbox --target-org prodOrg",
1081
+ "Check the status using the job ID:\n<%= config.bin %> <%= command.id %> --job-id 0GRxxxxxxxx",
1082
+ "Check the status of the most recent sandbox create request:\n<%= config.bin %> <%= command.id %> --use-most-recent"
1083
+ ],
1084
+ "deprecateAliases": true,
1085
+ "flags": {
1086
+ "json": {
1087
+ "name": "json",
1088
+ "type": "boolean",
1089
+ "description": "Format output as json.",
1090
+ "helpGroup": "GLOBAL",
1091
+ "allowNo": false,
1092
+ "deprecateAliases": true
1093
+ },
1094
+ "wait": {
1095
+ "name": "wait",
1096
+ "type": "option",
1097
+ "char": "w",
1098
+ "summary": "Number of minutes to wait for the sandbox org to be ready.",
1099
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To resume checking the sandbox creation, rerun this command.",
1100
+ "helpValue": "<minutes>",
1101
+ "multiple": false,
1102
+ "deprecateAliases": true
1103
+ },
1104
+ "name": {
1105
+ "name": "name",
1106
+ "type": "option",
1107
+ "char": "n",
1108
+ "summary": "Name of the sandbox org.",
1109
+ "multiple": false,
1110
+ "exclusive": [
1111
+ "job-id"
1112
+ ],
1113
+ "deprecateAliases": true
1114
+ },
1115
+ "job-id": {
1116
+ "name": "job-id",
1117
+ "type": "option",
1118
+ "char": "i",
1119
+ "summary": "Job ID of the incomplete sandbox creation that you want to check the status of.",
1120
+ "description": "The job ID is valid for 24 hours after you start the sandbox creation.",
1121
+ "multiple": false,
1122
+ "exclusive": [
1123
+ "name"
1124
+ ],
1125
+ "deprecateAliases": true
1126
+ },
1127
+ "use-most-recent": {
1128
+ "name": "use-most-recent",
1129
+ "type": "boolean",
1130
+ "char": "l",
1131
+ "summary": "Use the most recent sandbox create request.",
1132
+ "allowNo": false,
1133
+ "deprecateAliases": true
1134
+ },
1135
+ "target-org": {
1136
+ "name": "target-org",
1137
+ "type": "option",
1138
+ "char": "o",
1139
+ "summary": "Username or alias of the production org that contains the sandbox license.",
1140
+ "description": "When it creates the sandbox org, Salesforce copies the metadata, and optionally data, from your production org to the new sandbox org.",
1141
+ "multiple": false,
1142
+ "deprecateAliases": true
1143
+ }
1144
+ },
1145
+ "args": {},
1146
+ "hasDynamicHelp": true
1147
+ },
1148
+ "org:resume:scratch": {
1149
+ "id": "org:resume:scratch",
1150
+ "summary": "Resume the creation of an incomplete scratch org.",
1151
+ "description": "When the original \"<%= config.bin %> org create scratch\" command either times out or is run with the --async flag, it displays a job ID.\n\nRun this command by either passing it a job ID or using the --use-most-recent flag to specify the most recent incomplete scratch org.",
1152
+ "strict": true,
1153
+ "pluginName": "@salesforce/plugin-org",
1154
+ "pluginAlias": "@salesforce/plugin-org",
1155
+ "pluginType": "core",
1156
+ "aliases": [
1157
+ "env:resume:scratch"
1158
+ ],
1159
+ "examples": [
1160
+ "Resume a scratch org create with a job ID:\n<%= config.bin %> <%= command.id %> --job-id 2SR3u0000008fBDGAY",
1161
+ "Resume your most recent incomplete scratch org:\n<%= config.bin %> <%= command.id %> --use-most-recent"
1162
+ ],
1163
+ "deprecateAliases": true,
1164
+ "flags": {
1165
+ "json": {
1166
+ "name": "json",
1167
+ "type": "boolean",
1168
+ "description": "Format output as json.",
1169
+ "helpGroup": "GLOBAL",
1170
+ "allowNo": false,
1171
+ "deprecateAliases": true
1172
+ },
1173
+ "job-id": {
1174
+ "name": "job-id",
1175
+ "type": "option",
1176
+ "char": "i",
1177
+ "summary": "Job ID of the incomplete scratch org create that you want to resume.",
1178
+ "description": "The job ID is the same as the record ID of the incomplete scratch org in the ScratchOrgInfo object of the Dev Hub.\n\nThe job ID is valid for 24 hours after you start the scratch org creation.",
1179
+ "multiple": false,
1180
+ "deprecateAliases": true
1181
+ },
1182
+ "use-most-recent": {
1183
+ "name": "use-most-recent",
1184
+ "type": "boolean",
1185
+ "char": "r",
1186
+ "summary": "Use the job ID of the most recent incomplete scratch org.",
1187
+ "allowNo": false,
1188
+ "deprecateAliases": true
1189
+ }
1190
+ },
1191
+ "args": {}
1192
+ }
1193
+ }
1194
+ }