@salesforce/cli 2.50.5 → 2.51.0

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.50.5 linux-x64 node-v20.15.0
27
+ @salesforce/cli/2.51.0 linux-x64 node-v20.15.0
28
28
  $ sf --help [COMMAND]
29
29
  USAGE
30
30
  $ sf COMMAND
@@ -790,9 +790,7 @@ FLAG DESCRIPTIONS
790
790
  For multiple suites, repeat the flag for each.
791
791
  --suite-names Suite1 --suite-names Suite2
792
792
 
793
- -t, --tests=<value>...
794
-
795
- Apex test class names or IDs and, if applicable, test methods to run; default is all tests.
793
+ -t, --tests=<value>... Apex test class names or IDs and, if applicable, test methods to run; default is all tests.
796
794
 
797
795
  If you specify --tests, you can't specify --class-names or --suite-names
798
796
  For multiple tests, repeat the flag for each.
@@ -4047,9 +4045,7 @@ EXAMPLES
4047
4045
  $ sf org refresh sandbox --definition-file devSbx3-config.json --target-org prodOrg
4048
4046
 
4049
4047
  FLAG DESCRIPTIONS
4050
- -f, --definition-file=<value>
4051
-
4052
- Path to a sandbox definition file for overriding its configuration when you refresh it.
4048
+ -f, --definition-file=<value> Path to a sandbox definition file for overriding its configuration when you refresh it.
4053
4049
 
4054
4050
  The sandbox definition file is a blueprint for the sandbox; use the file to change the sandbox configuration during
4055
4051
  a refresh. If you don't want to change the sandbox configuration when you refresh it, then simply use the --name
@@ -7358,9 +7354,7 @@ FLAG DESCRIPTIONS
7358
7354
  If the target directory matches one of the package directories in your sfdx-project.json file, the command fails.
7359
7355
  Running the command multiple times with the same target adds new files and overwrites existing files.
7360
7356
 
7361
- -w, --wait=<value>
7362
-
7363
- Number of minutes to wait for the command to complete and display results to the terminal window.
7357
+ -w, --wait=<value> Number of minutes to wait for the command to complete and display results to the terminal window.
7364
7358
 
7365
7359
  If the command continues to run after the wait period, the CLI returns control of the terminal window to you.
7366
7360
 
@@ -7,6 +7,7 @@
7
7
  import { Help } from '@oclif/core/help';
8
8
  import { toConfiguredId } from '@oclif/core/util/ids';
9
9
  import { Ansis } from 'ansis';
10
+ import { colorize } from '@oclif/core/ux';
10
11
  import { SfCommandHelp } from './sfCommandHelp.js';
11
12
  const ansis = new Ansis();
12
13
  export default class SfHelp extends Help {
@@ -57,7 +58,7 @@ export default class SfHelp extends Help {
57
58
  let formattedArg = arg.slice();
58
59
  const matches = ansis.strip(formattedArg).match(this.commandIdRegex) ?? [];
59
60
  for (const match of matches) {
60
- formattedArg = formattedArg.replaceAll(match, ansis.dim(match));
61
+ formattedArg = formattedArg.replaceAll(match, colorize('dim', match));
61
62
  }
62
63
  return formattedArg;
63
64
  });