@salesforce/cli 2.13.2 → 2.13.3

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.
package/README.md CHANGED
@@ -24,7 +24,7 @@ $ npm install -g @salesforce/cli
24
24
  $ sf COMMAND
25
25
  running command...
26
26
  $ sf (--version|-v)
27
- @salesforce/cli/2.13.2 linux-x64 node-v18.18.0
27
+ @salesforce/cli/2.13.3 linux-x64 node-v18.18.0
28
28
  $ sf --help [COMMAND]
29
29
  USAGE
30
30
  $ sf COMMAND
@@ -3093,7 +3093,8 @@ FLAGS
3093
3093
  stronger the password.
3094
3094
  -l, --length=<value> [default: 13] Number of characters in the generated password; valid values are between
3095
3095
  8 and 100.
3096
- -o, --on-behalf-of=<value>... Comma-separated list of usernames or aliases to assign the password to.
3096
+ -o, --on-behalf-of=<value>... Comma-separated list of usernames or aliases to assign the password to; must have been
3097
+ created locally with the "org create user" command.
3097
3098
  -u, --target-org=<value> (required) Scratch org alias or login user.
3098
3099
  --api-version=<value> Override the api version used for api requests made by this command
3099
3100
 
@@ -3104,7 +3105,10 @@ DESCRIPTION
3104
3105
  Generate a random password for scratch org users.
3105
3106
 
3106
3107
  By default, new scratch orgs contain one admin user with no password. Use this command to generate or change a
3107
- password for any scratch org user. After it's set, you can’t unset a password, you can only change it.
3108
+ password for this admin user. After it's set, you can’t unset a password, you can only change it.
3109
+
3110
+ You can also use the --on-behalf-of flag to generate a password for a scratch org user that you've created locally
3111
+ with the "org create user" command. This command doesn't work for users you created in the scratch org using Setup.
3108
3112
 
3109
3113
  To change the password strength, set the --complexity flag to a value between 0 and 5. Each value specifies the types
3110
3114
  of characters used in the generated password:
@@ -3132,13 +3136,14 @@ EXAMPLES
3132
3136
 
3133
3137
  $ sf force user password generate --complexity 3
3134
3138
 
3135
- Generate a password for the specified users in the default scratch org:
3139
+ Generate a password for the specified users in the default scratch org; these users must have been created locally
3140
+ with the "org create user" command:
3136
3141
 
3137
3142
  $ sf force user password generate --on-behalf-of user1@my.org --on-behalf-of user2@my.org --on-behalf-of \
3138
3143
  user3@my.org
3139
3144
  ```
3140
3145
 
3141
- _See code: [@salesforce/plugin-user](https://github.com/salesforcecli/plugin-user/blob/2.3.35/src/commands/force/user/password/generate.ts)_
3146
+ _See code: [@salesforce/plugin-user](https://github.com/salesforcecli/plugin-user/blob/2.3.36/src/commands/force/user/password/generate.ts)_
3142
3147
 
3143
3148
  ## `sf help [COMMANDS]`
3144
3149
 
@@ -3655,7 +3660,7 @@ EXAMPLES
3655
3660
  $ sf org assign permset --name DreamHouse --on-behalf-of user1@my.org --on-behalf-of user2 --on-behalf-of user
3656
3661
  ```
3657
3662
 
3658
- _See code: [@salesforce/plugin-user](https://github.com/salesforcecli/plugin-user/blob/2.3.35/src/commands/org/assign/permset.ts)_
3663
+ _See code: [@salesforce/plugin-user](https://github.com/salesforcecli/plugin-user/blob/2.3.36/src/commands/org/assign/permset.ts)_
3659
3664
 
3660
3665
  ## `sf org assign permsetlicense`
3661
3666
 
@@ -3699,7 +3704,7 @@ EXAMPLES
3699
3704
  user3
3700
3705
  ```
3701
3706
 
3702
- _See code: [@salesforce/plugin-user](https://github.com/salesforcecli/plugin-user/blob/2.3.35/src/commands/org/assign/permsetlicense.ts)_
3707
+ _See code: [@salesforce/plugin-user](https://github.com/salesforcecli/plugin-user/blob/2.3.36/src/commands/org/assign/permsetlicense.ts)_
3703
3708
 
3704
3709
  ## `sf org create sandbox`
3705
3710
 
@@ -4055,7 +4060,7 @@ FLAG DESCRIPTIONS
4055
4060
  might be different than what you specify in the definition file.
4056
4061
  ```
4057
4062
 
4058
- _See code: [@salesforce/plugin-user](https://github.com/salesforcecli/plugin-user/blob/2.3.35/src/commands/org/create/user.ts)_
4063
+ _See code: [@salesforce/plugin-user](https://github.com/salesforcecli/plugin-user/blob/2.3.36/src/commands/org/create/user.ts)_
4059
4064
 
4060
4065
  ## `sf org delete sandbox`
4061
4066
 
@@ -4219,7 +4224,7 @@ EXAMPLES
4219
4224
  $ sf org display user --target-org me@my.org --json
4220
4225
  ```
4221
4226
 
4222
- _See code: [@salesforce/plugin-user](https://github.com/salesforcecli/plugin-user/blob/2.3.35/src/commands/org/display/user.ts)_
4227
+ _See code: [@salesforce/plugin-user](https://github.com/salesforcecli/plugin-user/blob/2.3.36/src/commands/org/display/user.ts)_
4223
4228
 
4224
4229
  ## `sf org generate password`
4225
4230
 
@@ -4230,7 +4235,8 @@ USAGE
4230
4235
  $ sf org generate password -o <value> [--json] [-b <value>] [-l <value>] [-c <value>] [--api-version <value>]
4231
4236
 
4232
4237
  FLAGS
4233
- -b, --on-behalf-of=<value>... Comma-separated list of usernames or aliases to assign the password to.
4238
+ -b, --on-behalf-of=<value>... Comma-separated list of usernames or aliases to assign the password to; must have been
4239
+ created locally with the "org create user" command.
4234
4240
  -c, --complexity=<value> [default: 5] Level of password complexity or strength; the higher the value, the
4235
4241
  stronger the password.
4236
4242
  -l, --length=<value> [default: 13] Number of characters in the generated password; valid values are between
@@ -4245,7 +4251,10 @@ DESCRIPTION
4245
4251
  Generate a random password for scratch org users.
4246
4252
 
4247
4253
  By default, new scratch orgs contain one admin user with no password. Use this command to generate or change a
4248
- password for any scratch org user. After it's set, you can’t unset a password, you can only change it.
4254
+ password for this admin user. After it's set, you can’t unset a password, you can only change it.
4255
+
4256
+ You can also use the --on-behalf-of flag to generate a password for a scratch org user that you've created locally
4257
+ with the "org create user" command. This command doesn't work for users you created in the scratch org using Setup.
4249
4258
 
4250
4259
  To change the password strength, set the --complexity flag to a value between 0 and 5. Each value specifies the types
4251
4260
  of characters used in the generated password:
@@ -4273,12 +4282,13 @@ EXAMPLES
4273
4282
 
4274
4283
  $ sf org generate password --complexity 3
4275
4284
 
4276
- Generate a password for the specified users in the default scratch org:
4285
+ Generate a password for the specified users in the default scratch org; these users must have been created locally
4286
+ with the "org create user" command:
4277
4287
 
4278
4288
  $ sf org generate password --on-behalf-of user1@my.org --on-behalf-of user2@my.org --on-behalf-of user3@my.org
4279
4289
  ```
4280
4290
 
4281
- _See code: [@salesforce/plugin-user](https://github.com/salesforcecli/plugin-user/blob/2.3.35/src/commands/org/generate/password.ts)_
4291
+ _See code: [@salesforce/plugin-user](https://github.com/salesforcecli/plugin-user/blob/2.3.36/src/commands/org/generate/password.ts)_
4282
4292
 
4283
4293
  ## `sf org list`
4284
4294
 
@@ -4500,7 +4510,7 @@ EXAMPLES
4500
4510
  $ sf org list users --target-org me@my.org
4501
4511
  ```
4502
4512
 
4503
- _See code: [@salesforce/plugin-user](https://github.com/salesforcecli/plugin-user/blob/2.3.35/src/commands/org/list/users.ts)_
4513
+ _See code: [@salesforce/plugin-user](https://github.com/salesforcecli/plugin-user/blob/2.3.36/src/commands/org/list/users.ts)_
4504
4514
 
4505
4515
  ## `sf org login access-token`
4506
4516
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
- "version": "2.13.2",
3
+ "version": "2.13.3",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/cli",
9
- "version": "2.13.2",
9
+ "version": "2.13.3",
10
10
  "hasInstallScript": true,
11
11
  "license": "BSD-3-Clause",
12
12
  "dependencies": {
@@ -38,7 +38,7 @@
38
38
  "@salesforce/plugin-telemetry": "2.3.6",
39
39
  "@salesforce/plugin-templates": "55.5.14",
40
40
  "@salesforce/plugin-trust": "2.6.18",
41
- "@salesforce/plugin-user": "2.3.35",
41
+ "@salesforce/plugin-user": "2.3.36",
42
42
  "@salesforce/sf-plugins-core": "4.0.0",
43
43
  "debug": "^4.3.4"
44
44
  },
@@ -6261,9 +6261,9 @@
6261
6261
  }
6262
6262
  },
6263
6263
  "node_modules/@salesforce/plugin-user": {
6264
- "version": "2.3.35",
6265
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-user/-/plugin-user-2.3.35.tgz",
6266
- "integrity": "sha512-Iprqc6dEZ4nwt3xC3k0L+cVjwPoCrEm5byOvuSXyFTyXRy116Qz62VcSUKzKNtxHgVTjMzBlpMRHCH8bnQFVmA==",
6264
+ "version": "2.3.36",
6265
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-user/-/plugin-user-2.3.36.tgz",
6266
+ "integrity": "sha512-XzqNSg7TMRHAiMolm86tMJuQ42LDC5zq/lM/XEfaHA249KmNktsDb81TsK5WwYURVKZi+IS6zifLASAAdrnlpg==",
6267
6267
  "license": "BSD-3-Clause",
6268
6268
  "dependencies": {
6269
6269
  "@oclif/core": "^2.15.0",
@@ -6594,5 +6594,5 @@
6594
6594
  ]
6595
6595
  }
6596
6596
  },
6597
- "version": "2.13.2"
6597
+ "version": "2.13.3"
6598
6598
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
3
  "description": "The Salesforce CLI",
4
- "version": "2.13.2",
4
+ "version": "2.13.3",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf": "./bin/run.js",
@@ -150,7 +150,7 @@
150
150
  "@salesforce/plugin-telemetry": "2.3.6",
151
151
  "@salesforce/plugin-templates": "55.5.14",
152
152
  "@salesforce/plugin-trust": "2.6.18",
153
- "@salesforce/plugin-user": "2.3.35",
153
+ "@salesforce/plugin-user": "2.3.36",
154
154
  "@salesforce/sf-plugins-core": "4.0.0",
155
155
  "debug": "^4.3.4"
156
156
  },