@salesforce/sf-plugins-core 2.0.0-beta.4 → 2.0.0-beta.6

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.
@@ -14,7 +14,7 @@
14
14
  * }
15
15
  * ```
16
16
  */
17
- export declare const orgApiVersionFlagWithDeprecations: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, Record<string, unknown>>;
17
+ export declare const orgApiVersionFlagWithDeprecations: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
18
18
  /**
19
19
  * Use only for commands that maintain sfdx compatibility.
20
20
  * Flag will be hidden and will show a warning if used.
@@ -23,23 +23,23 @@ export declare const orgApiVersionFlagWithDeprecations: import("@oclif/core/lib/
23
23
  * @deprecated
24
24
  *
25
25
  */
26
- export declare const loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, Record<string, unknown>>;
26
+ export declare const loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
27
27
  /**
28
28
  * @deprecated
29
29
  */
30
- export declare const optionalOrgFlagWithDeprecations: import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org | undefined, Record<string, unknown>>;
30
+ export declare const optionalOrgFlagWithDeprecations: import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
31
31
  /**
32
32
  * @deprecated
33
33
  */
34
- export declare const requiredOrgFlagWithDeprecations: import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, Record<string, unknown>>;
34
+ export declare const requiredOrgFlagWithDeprecations: import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
35
35
  /**
36
36
  * @deprecated
37
37
  */
38
- export declare const requiredHubFlagWithDeprecations: import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, Record<string, unknown>>;
38
+ export declare const requiredHubFlagWithDeprecations: import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
39
39
  /**
40
40
  * @deprecated
41
41
  */
42
- export declare const optionalHubFlagWithDeprecations: import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org | undefined, Record<string, unknown>>;
42
+ export declare const optionalHubFlagWithDeprecations: import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
43
43
  export type ArrayWithDeprecationOptions = {
44
44
  multiple?: true;
45
45
  parse?: undefined;
@@ -47,5 +47,5 @@ export type ArrayWithDeprecationOptions = {
47
47
  /**
48
48
  * @deprecated
49
49
  */
50
- export declare const arrayWithDeprecation: import("@oclif/core/lib/interfaces/parser").FlagDefinition<string[], ArrayWithDeprecationOptions>;
50
+ export declare const arrayWithDeprecation: import("@oclif/core/lib/interfaces/parser").FlagDefinition<string, ArrayWithDeprecationOptions>;
51
51
  //# sourceMappingURL=compatibility.d.ts.map
@@ -85,12 +85,13 @@ exports.optionalHubFlagWithDeprecations = (0, orgFlags_1.optionalHubFlag)({
85
85
  */
86
86
  exports.arrayWithDeprecation = core_1.Flags.custom({
87
87
  multiple: true,
88
+ delimiter: ',',
88
89
  parse: async (input) => {
89
90
  const inputParts = input.split(',').map((i) => i.trim());
90
91
  if (inputParts.length > 1) {
91
92
  await core_2.Lifecycle.getInstance().emitWarning(messages.getMessage('warning.arrayInputFormat'));
92
93
  }
93
- return inputParts;
94
+ return input;
94
95
  },
95
96
  });
96
97
  //# sourceMappingURL=compatibility.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/sf-plugins-core",
3
- "version": "2.0.0-beta.4",
3
+ "version": "2.0.0-beta.6",
4
4
  "description": "Utils for writing Salesforce CLI plugins",
5
5
  "main": "lib/exported",
6
6
  "types": "lib/exported.d.ts",
@@ -32,7 +32,7 @@
32
32
  "/messages"
33
33
  ],
34
34
  "dependencies": {
35
- "@oclif/core": "^2.0.5",
35
+ "@oclif/core": "^2.0.6",
36
36
  "@salesforce/core": "^3.32.12",
37
37
  "@salesforce/kit": "^1.8.3",
38
38
  "@salesforce/ts-types": "^1.7.1",