@salesforce/sf-plugins-core 2.0.0-beta.5 → 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.
@@ -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.5",
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",