sfdx-jayree 4.3.4 → 4.3.8

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.
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ var _a;
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
3
4
  exports.MyDefaultRenderer = void 0;
4
5
  const tslib_1 = require("tslib");
@@ -11,25 +12,51 @@ const tslib_1 = require("tslib");
11
12
  const os_1 = require("os");
12
13
  const cli_truncate_1 = (0, tslib_1.__importDefault)(require("cli-truncate"));
13
14
  const log_update_1 = (0, tslib_1.__importDefault)(require("log-update"));
14
- const cliWrap = (0, tslib_1.__importStar)(require("wrap-ansi"));
15
- const colorette_1 = (0, tslib_1.__importDefault)(require("listr2/dist/utils/colorette"));
16
- const figures_1 = require("listr2/dist/utils/figures");
17
- const indent_string_1 = require("listr2/dist/utils/indent-string");
18
- const is_unicode_supported_1 = require("listr2/dist/utils/is-unicode-supported");
19
- const parse_time_1 = require("listr2/dist/utils/parse-time");
15
+ const wrap_ansi_1 = (0, tslib_1.__importDefault)(require("wrap-ansi"));
16
+ const listr2_1 = require("listr2");
17
+ const colorette_1 = require("colorette");
18
+ const colorette = (0, colorette_1.createColors)({ useColor: ((_a = process.env) === null || _a === void 0 ? void 0 : _a.LISTR_DISABLE_COLOR) !== '1' });
19
+ function indentString(string, count) {
20
+ return string.replace(/^(?!\s*$)/gm, ' '.repeat(count));
21
+ }
22
+ function isUnicodeSupported() {
23
+ if (process.platform !== 'win32') {
24
+ return true;
25
+ }
26
+ /* istanbul ignore next */
27
+ return (Boolean(process.env.CI) ||
28
+ Boolean(process.env.WT_SESSION) ||
29
+ process.env.TERM_PROGRAM === 'vscode' ||
30
+ process.env.TERM === 'xterm-256color' ||
31
+ process.env.TERM === 'alacritty');
32
+ }
33
+ function parseTaskTime(duration) {
34
+ const seconds = Math.floor(duration / 1000);
35
+ const minutes = Math.floor(seconds / 60);
36
+ let parsedTime;
37
+ if (seconds === 0 && minutes === 0) {
38
+ parsedTime = `0.${Math.floor(duration / 100)}s`;
39
+ }
40
+ if (seconds > 0) {
41
+ parsedTime = `${seconds % 60}s`;
42
+ }
43
+ if (minutes > 0) {
44
+ parsedTime = `${minutes}m${parsedTime}`;
45
+ }
46
+ return parsedTime;
47
+ }
20
48
  function startTimeSpan() {
21
49
  const start = process.hrtime.bigint();
22
50
  return { getTimeSpan: () => Number(process.hrtime.bigint() - start) / 1000000000 };
23
51
  }
24
52
  /** Default updating renderer for Listr2 */
25
53
  class MyDefaultRenderer {
26
- // eslint-disable-next-line @typescript-eslint/explicit-member-accessibility
27
54
  constructor(tasks, options, renderHook$) {
28
55
  this.tasks = tasks;
29
56
  this.options = options;
30
57
  this.renderHook$ = renderHook$;
31
58
  this.bottomBar = {};
32
- this.spinner = !(0, is_unicode_supported_1.isUnicodeSupported)()
59
+ this.spinner = !isUnicodeSupported()
33
60
  ? ['-', '\\', '|', '/']
34
61
  : ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'];
35
62
  this.spinnerPosition = 0;
@@ -57,7 +84,7 @@ class MyDefaultRenderer {
57
84
  }
58
85
  /* istanbul ignore next */
59
86
  getTaskTime(task) {
60
- return colorette_1.default.dim(`[${(0, parse_time_1.parseTaskTime)(task.message.duration)}]`);
87
+ return colorette.dim(`[${parseTaskTime(task.message.duration)}]`);
61
88
  }
62
89
  createRender(options) {
63
90
  options = {
@@ -136,18 +163,18 @@ class MyDefaultRenderer {
136
163
  if (completed.length > 0) {
137
164
  output = [
138
165
  ...output,
139
- this.formatString(`... completed (${completed.length})`, colorette_1.default.green(figures_1.figures.tick), level),
166
+ this.formatString(`... completed (${completed.length})`, colorette.green(listr2_1.figures.tick), level),
140
167
  ];
141
168
  }
142
169
  const failed = this.hiddenTasks[id].filter((t) => t.hasFailed());
143
170
  if (failed.length > 0) {
144
- output = [...output, this.formatString(`... failed (${failed.length})`, colorette_1.default.red(figures_1.figures.cross), level)];
171
+ output = [...output, this.formatString(`... failed (${failed.length})`, colorette.red(listr2_1.figures.cross), level)];
145
172
  }
146
173
  const skipped = this.hiddenTasks[id].filter((t) => t.isSkipped());
147
174
  if (skipped.length > 0) {
148
175
  output = [
149
176
  ...output,
150
- this.formatString(`... skipped (${skipped.length})`, colorette_1.default.yellow(figures_1.figures.arrowDown), level),
177
+ this.formatString(`... skipped (${skipped.length})`, colorette.yellow(listr2_1.figures.arrowDown), level),
151
178
  ];
152
179
  }
153
180
  }
@@ -206,7 +233,7 @@ class MyDefaultRenderer {
206
233
  }
207
234
  else {
208
235
  // some sibling task but self has failed and this has stopped
209
- output = [...output, this.formatString(task.title, colorette_1.default.red(figures_1.figures.squareSmallFilled), level)];
236
+ output = [...output, this.formatString(task.title, colorette.red(listr2_1.figures.squareSmallFilled), level)];
210
237
  }
211
238
  }
212
239
  // task should not have subtasks since subtasks will handle the error already
@@ -306,7 +333,7 @@ class MyDefaultRenderer {
306
333
  if (level > 0 && this.currentTasks[id].length - this.options.maxSubTasks > 0) {
307
334
  output = [
308
335
  ...output,
309
- this.formatString(`... pending (${this.currentTasks[id].length - this.options.maxSubTasks})`, colorette_1.default.dim(figures_1.figures.squareSmallFilled), level),
336
+ this.formatString(`... pending (${this.currentTasks[id].length - this.options.maxSubTasks})`, colorette.dim(listr2_1.figures.squareSmallFilled), level),
310
337
  ];
311
338
  }
312
339
  output = output.filter(Boolean);
@@ -377,7 +404,7 @@ class MyDefaultRenderer {
377
404
  });
378
405
  break;
379
406
  case 'wrap':
380
- parsedStr = cliWrap(str, columns, { hard: true })
407
+ parsedStr = (0, wrap_ansi_1.default)(str, columns, { hard: true })
381
408
  .split(os_1.EOL)
382
409
  .map((s, i) => this.indentMultilineOutput(s, i));
383
410
  break;
@@ -388,10 +415,10 @@ class MyDefaultRenderer {
388
415
  if (this.options.removeEmptyLines) {
389
416
  parsedStr = parsedStr.filter(Boolean);
390
417
  }
391
- return (0, indent_string_1.indentString)(parsedStr.join(os_1.EOL), level * this.options.indentation);
418
+ return indentString(parsedStr.join(os_1.EOL), level * this.options.indentation);
392
419
  }
393
420
  indentMultilineOutput(str, i) {
394
- return i > 0 ? (0, indent_string_1.indentString)(str.trim(), 2) : str.trim();
421
+ return i > 0 ? indentString(str.trim(), 2) : str.trim();
395
422
  }
396
423
  // eslint-disable-next-line complexity
397
424
  getSymbol(task, data = false) {
@@ -401,38 +428,38 @@ class MyDefaultRenderer {
401
428
  (this.getSelfOrParentOption(task, 'showSubtasks') !== false &&
402
429
  task.hasSubtasks() &&
403
430
  !task.subtasks.every((subtask) => !subtask.hasTitle()))
404
- ? colorette_1.default.yellow(figures_1.figures.pointer)
405
- : colorette_1.default.yellowBright(this.spinner[this.spinnerPosition]);
431
+ ? colorette.yellow(listr2_1.figures.pointer)
432
+ : colorette.yellowBright(this.spinner[this.spinnerPosition]);
406
433
  }
407
434
  else if (task.isCompleted() && !data) {
408
435
  return task.hasSubtasks() && task.subtasks.some((subtask) => subtask.hasFailed())
409
- ? colorette_1.default.yellow(figures_1.figures.warning)
410
- : colorette_1.default.green(figures_1.figures.tick);
436
+ ? colorette.yellow(listr2_1.figures.warning)
437
+ : colorette.green(listr2_1.figures.tick);
411
438
  }
412
439
  else if (task.isRetrying() && !data) {
413
440
  return ((_b = this.options) === null || _b === void 0 ? void 0 : _b.lazy)
414
- ? colorette_1.default.yellow(figures_1.figures.warning)
415
- : colorette_1.default.yellow(this.spinner[this.spinnerPosition]);
441
+ ? colorette.yellow(listr2_1.figures.warning)
442
+ : colorette.yellow(this.spinner[this.spinnerPosition]);
416
443
  }
417
444
  else if (task.isRollingBack() && !data) {
418
- return ((_c = this.options) === null || _c === void 0 ? void 0 : _c.lazy) ? colorette_1.default.red(figures_1.figures.warning) : colorette_1.default.red(this.spinner[this.spinnerPosition]);
445
+ return ((_c = this.options) === null || _c === void 0 ? void 0 : _c.lazy) ? colorette.red(listr2_1.figures.warning) : colorette.red(this.spinner[this.spinnerPosition]);
419
446
  }
420
447
  else if (task.hasRolledBack() && !data) {
421
- return colorette_1.default.red(figures_1.figures.arrowLeft);
448
+ return colorette.red(listr2_1.figures.arrowLeft);
422
449
  }
423
450
  else if (task.hasFailed() && !data) {
424
- return task.hasSubtasks() ? colorette_1.default.red(figures_1.figures.pointer) : colorette_1.default.red(figures_1.figures.cross);
451
+ return task.hasSubtasks() ? colorette.red(listr2_1.figures.pointer) : colorette.red(listr2_1.figures.cross);
425
452
  }
426
453
  else if (task.isSkipped() && !data && this.getSelfOrParentOption(task, 'collapseSkips') === false) {
427
- return colorette_1.default.yellow(figures_1.figures.warning);
454
+ return colorette.yellow(listr2_1.figures.warning);
428
455
  }
429
456
  else if (task.isSkipped() && (data || this.getSelfOrParentOption(task, 'collapseSkips'))) {
430
- return colorette_1.default.yellow(figures_1.figures.arrowDown);
457
+ return colorette.yellow(listr2_1.figures.arrowDown);
431
458
  }
432
- return !data ? colorette_1.default.dim(figures_1.figures.squareSmallFilled) : figures_1.figures.pointerSmall;
459
+ return !data ? colorette.dim(listr2_1.figures.squareSmallFilled) : listr2_1.figures.pointerSmall;
433
460
  }
434
461
  addSuffixToMessage(message, suffix, condition) {
435
- return (condition !== null && condition !== void 0 ? condition : true) ? message + colorette_1.default.dim(` [${suffix}]`) : message;
462
+ return (condition !== null && condition !== void 0 ? condition : true) ? message + colorette.dim(` [${suffix}]`) : message;
436
463
  }
437
464
  }
438
465
  exports.MyDefaultRenderer = MyDefaultRenderer;
@@ -1 +1 @@
1
- {"version":3,"file":"renderer.js","sourceRoot":"","sources":["../../../src/utils/renderer.ts"],"names":[],"mappings":";;;;AAAA;;;;;GAKG;AACH,2BAAyB;AACzB,6EAAuC;AACvC,yEAAmC;AACnC,gEAAqC;AAIrC,yFAAoD;AACpD,uDAAoD;AACpD,mEAA+D;AAC/D,iFAA4E;AAC5E,6DAA6D;AAE7D,SAAS,aAAa;IACpB,MAAM,KAAK,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;IACtC,OAAO,EA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;IACtB,YAAY,EAAE,UAAU;IACxB,WAAW,EAAE,EAAE;IACf,gBAAgB,EAAE,CAAC;CACpB,CAAC"}
@@ -10,35 +10,32 @@ exports.normalizeToArray = exports.parseSourceComponent = exports.js2SourceCompo
10
10
  const fast_xml_parser_1 = require("fast-xml-parser");
11
11
  const common_1 = require("@salesforce/source-deploy-retrieve/lib/src/common");
12
12
  function parseManifest(xmlData) {
13
- return (0, fast_xml_parser_1.parse)(xmlData, {
13
+ const parser = new fast_xml_parser_1.XMLParser({
14
14
  stopNodes: ['version'],
15
+ parseTagValue: false,
15
16
  });
17
+ return parser.parse(xmlData);
16
18
  }
17
19
  exports.parseManifest = parseManifest;
18
20
  function js2Manifest(jsData) {
19
- const js2Xml = new fast_xml_parser_1.j2xParser({ format: true, indentBy: ' ', ignoreAttributes: false });
21
+ const js2Xml = new fast_xml_parser_1.XMLBuilder({ format: true, indentBy: ' ', ignoreAttributes: false });
20
22
  jsData.Package[common_1.XML_NS_KEY] = common_1.XML_NS_URL;
21
- return common_1.XML_DECL.concat(js2Xml.parse(jsData));
23
+ return common_1.XML_DECL.concat(js2Xml.build(jsData));
22
24
  }
23
25
  exports.js2Manifest = js2Manifest;
24
26
  function js2SourceComponent(jsData) {
25
- const js2Xml = new fast_xml_parser_1.j2xParser({ format: true, indentBy: ' ', ignoreAttributes: false });
27
+ const js2Xml = new fast_xml_parser_1.XMLBuilder({ format: true, indentBy: ' ', ignoreAttributes: false });
26
28
  jsData[Object.keys(jsData)[0]][common_1.XML_NS_KEY] = common_1.XML_NS_URL;
27
- return common_1.XML_DECL.concat(js2Xml.parse(jsData));
29
+ return common_1.XML_DECL.concat(js2Xml.build(jsData));
28
30
  }
29
31
  exports.js2SourceComponent = js2SourceComponent;
30
- // function JsToXml(jsData, key) {
31
- // const js2Xml = new j2xParser({ format: true, indentBy: ' ', ignoreAttributes: false });
32
- // jsData[key][XML_NS_KEY] = XML_NS_URL;
33
- // return XML_DECL.concat(js2Xml.parse(jsData));
34
- // }
35
32
  function parseSourceComponent(xmlData) {
36
- const x = (0, fast_xml_parser_1.parse)(xmlData, {
33
+ const parser = new fast_xml_parser_1.XMLParser({
37
34
  ignoreAttributes: false,
38
- parseNodeValue: false,
39
- ignoreNameSpace: true,
35
+ parseTagValue: false,
36
+ removeNSPrefix: true,
40
37
  });
41
- return x;
38
+ return parser.parse(xmlData);
42
39
  }
43
40
  exports.parseSourceComponent = parseSourceComponent;
44
41
  function normalizeToArray(entryOrArray) {
@@ -1 +1 @@
1
- {"version":3,"file":"xml.js","sourceRoot":"","sources":["../../../src/utils/xml.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,qDAAmD;AACnD,8EAAqG;AAErG,SAAgB,aAAa,CAAC,OAAe;IAC3C,OAAO,IAAA,uBAAK,EAAC,OAAO,EAAE;QACpB,SAAS,EAAE,CAAC,SAAS,CAAC;KACvB,CAAC,CAAC;AACL,CAAC;AAJD,sCAIC;AAED,SAAgB,WAAW,CAAC,MAAM;IAChC,MAAM,MAAM,GAAG,IAAI,2BAAS,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,EAAE,CAAC,CAAC;IAC1F,MAAM,CAAC,OAAO,CAAC,mBAAU,CAAC,GAAG,mBAAU,CAAC;IACxC,OAAO,iBAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/C,CAAC;AAJD,kCAIC;AAED,SAAgB,kBAAkB,CAAC,MAAM;IACvC,MAAM,MAAM,GAAG,IAAI,2BAAS,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,EAAE,CAAC,CAAC;IAC1F,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAU,CAAC,GAAG,mBAAU,CAAC;IACxD,OAAO,iBAAQ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AAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/C,CAAC;AAJD,kCAIC;AAED,SAAgB,kBAAkB,CAAC,MAAM;IACvC,MAAM,MAAM,GAAG,IAAI,4BAAU,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,EAAE,CAAC,CAAC;IAC3F,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAU,CAAC,GAAG,mBAAU,CAAC;IACxD,OAAO,iBAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/C,CAAC;AAJD,gDAIC;AAED,SAAgB,oBAAoB,CAAC,OAAe;IAClD,MAAM,MAAM,GAAG,IAAI,2BAAS,CAAC;QAC3B,gBAAgB,EAAE,KAAK;QACvB,aAAa,EAAE,KAAK;QACpB,cAAc,EAAE,IAAI;KACrB,CAAC,CAAC;IACH,OAAO,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAC/B,CAAC;AAPD,oDAOC;AAED,SAAgB,gBAAgB,CAAI,YAAiC;IACnE,IAAI,YAAY,EAAE;QAChB,OAAO,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;KACpE;IACD,OAAO,EAAE,CAAC;AACZ,CAAC;AALD,4CAKC"}
@@ -1 +1 @@
1
- {"version":"4.3.4","commands":{"jayree:flowtestcoverage":{"id":"jayree:flowtestcoverage","description":"check the flow test coverage of an org","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:flowtestcoverage\n=== Flow Test Coverage\nCoverage: 82%\n...\n"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"jayree:version":{"id":"jayree:version","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","hidden":true,"aliases":[],"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)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[]},"jayree:org:settings":{"id":"jayree:org:settings","description":"write the current settings from an Org to a scratch org def file","usage":"<%= command.id %> [-w] [-f <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":["jayree:scratchorg:settings"],"examples":["$ sfdx jayree:org:settings\n$ sfdx jayree:org:settings -u me@my.org\n$ sfdx jayree:org:settings -u MyTestOrg1 -w"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"writetoprojectscratchdeffile":{"name":"writetoprojectscratchdeffile","type":"boolean","char":"w","description":"write output to project-scratch-def.json file","allowNo":false},"file":{"name":"file","type":"option","char":"f","description":"write to 'file' instead of project-scratch-def.json"}},"args":[]},"jayree:org:streaming":{"id":"jayree:org:streaming","description":"listen to streaming api and platform events","usage":"<%= command.id %> -p <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:org:streaming --topic=/event/eventName__e\n...\n"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"topic":{"name":"topic","type":"option","char":"p","description":"topic name","required":true}},"args":[]},"jayree:packagedescription:create":{"id":"jayree:packagedescription:create","description":"creates an empty package with the description","usage":"<%= command.id %> (-d <string> -f <string>) [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:packagedescription:create --file FILENAME --description 'DESCRIPTION'\n "],"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)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"file":{"name":"file","type":"option","char":"f","description":"file to create","required":true},"description":{"name":"description","type":"option","char":"d","description":"new description value","required":true}},"args":[{"name":"file"}]},"jayree:packagedescription:get":{"id":"jayree:packagedescription:get","description":"get the description within a package","usage":"<%= command.id %> -f <string> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:packagedescription:get --file FILENAME\nDescription of Package FILENAME\n "],"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)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"file":{"name":"file","type":"option","char":"f","description":"file to read","required":true}},"args":[{"name":"file"}]},"jayree:packagedescription:remove":{"id":"jayree:packagedescription:remove","description":"remove the description within a package","usage":"<%= command.id %> -f <string> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:packagedescription:remove --file FILENAME\n "],"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)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"file":{"name":"file","type":"option","char":"f","description":"file to read","required":true}},"args":[{"name":"file"}]},"jayree:packagedescription:set":{"id":"jayree:packagedescription:set","description":"set the description within a package","usage":"<%= command.id %> (-d <string> -f <string>) [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:packagedescription:set --file FILENAME --description 'NEW DESCRIPTION'\n "],"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)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"file":{"name":"file","type":"option","char":"f","description":"file to read","required":true},"description":{"name":"description","type":"option","char":"d","description":"new description value","required":true}},"args":[{"name":"file"}]},"jayree:source:fix":{"id":"jayree:source:fix","description":"fix local source files\n (examples will follow)","usage":"<%= command.id %> [-t <array>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"tag":{"name":"tag","type":"option","char":"t","description":"comma-separated list of tag names listed in .sfdx-jayree.json"},"verbose":{"name":"verbose","type":"boolean","description":"log output to console","allowNo":false}},"args":[]},"jayree:automation:changeset:deploy":{"id":"jayree:automation:changeset:deploy","description":"deploy incomming change set to an org (beta)","usage":"<%= command.id %> [-r <string> -l <string>] [-c] [--nodialog -s <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:automation:changeset:deploy -s ChangeSet -l RunLocalTests --nodialog\nDeploying Change Set 'ChangeSet'...\n\n=== Status\nStatus: Pending\njobid: 0Xxx100000xx1x1\n","$ sfdx jayree:automation:changeset:deploy\n? Change Sets Awaiting Deployment (Use arrow keys)\n ChangeSet3\n ChangeSet2\n❯ ChangeSet1\n"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"changeset":{"name":"changeset","type":"option","char":"s","description":"name of changeset to deploy","required":false},"runtests":{"name":"runtests","type":"option","char":"r","description":"tests to run if --testlevel RunSpecifiedTests","required":false},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"deployment testing level (Default,RunSpecifiedTests,RunLocalTests,RunAllTestsInOrg)","required":false,"options":["Default","RunSpecifiedTests","RunLocalTests","RunAllTestsInOrg"]},"checkonly":{"name":"checkonly","type":"boolean","char":"c","description":"validate deploy but don’t save to the org (default:false)","required":false,"allowNo":false},"nodialog":{"name":"nodialog","type":"boolean","description":"don't show the dialog wizard","required":false,"allowNo":false}},"args":[]},"jayree:automation:changeset:list":{"id":"jayree:automation:changeset:list","description":"list incomming change sets of an org (beta)","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"jayree:automation:ltngsync:status":{"id":"jayree:automation:ltngsync:status","description":"check the Lightning Sync User Sync Status and reset sync if needed (beta)","usage":"<%= command.id %> -o <string> [-s] [-w <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:automation:ltngsync:status -o 'Name'\nconfigSetup: User assigned to active Lightning Sync configuration... Yes\nuserContacts/userEvents: Salesforce and Exchange email addresses linked... Linked/Linked\nuserContacts/userEvents: Salesforce to Exchange sync status... Initial sync completed/Initial sync completed\nuserContacts/userEvents: Exchange to Salesforce sync status... Initial sync completed/Initial sync completed\n"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"officeuser":{"name":"officeuser","type":"option","char":"o","description":"'name' (firstname lastname) of the SF user","required":true},"statusonly":{"name":"statusonly","type":"boolean","char":"s","description":"get Lightning Sync status of the SF user, only","required":false,"allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"wait time for command to wait for status change in minutes (default: infinitely)","required":false}},"args":[]},"jayree:org:configure:country":{"id":"jayree:org:configure:country","description":"update country integration values in the State/Country Picklists","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":["jayree:automation:country:update"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"silent":{"name":"silent","type":"boolean","description":"silent mode","hidden":true,"required":false,"allowNo":false}},"args":[]},"jayree:org:configure":{"id":"jayree:org:configure","description":"make configuration changes that are not covered by the metadata API\nSee example configuration on how to define tasks","usage":"<%= command.id %> [-t <array>] [--concurrent] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:org:configure\n$ sfdx jayree:org:configure -u me@my.org\n$ sfdx jayree:org:configure --tasks=\"Asset Settings\",\"Activity Settings\"\n$ sfdx jayree:org:configure --concurrent --tasks=\"Asset Settings\",\"Activity Settings\""],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"tasks":{"name":"tasks","type":"option","char":"t","description":"list of task titles, if no tasks are specified, all tasks marked as active will be executed"},"concurrent":{"name":"concurrent","type":"boolean","description":"execute tasks in parallel","allowNo":false}},"args":[]},"jayree:org:configure:state":{"id":"jayree:org:configure:state","description":"import (create/update) states into the State/Country Picklists","usage":"<%= command.id %> [--countrycode <string>] [--category <string>] [--language <string>] [--concurrent <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":["jayree:automation:statecountry:import","jayree:automation:statecountry:create","jayree:automation:statecountry:update","jayree:automation:state:import"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"countrycode":{"name":"countrycode","type":"option","description":"Alpha-2 code"},"category":{"name":"category","type":"option","description":"Subdivision category"},"language":{"name":"language","type":"option","description":"Language code"},"concurrent":{"name":"concurrent","type":"option","description":"ccc","default":1}},"args":[]},"jayree:source:tracking:list":{"id":"jayree:source:tracking:list","description":"list changes in a scratch org by remote revision counter number","usage":"<%= command.id %> [-r <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:source:tracking:list\n$ sfdx jayree:source:tracking:list -u me@my.org\n$ sfdx jayree:source:tracking:list -u me@my.org -r 101"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"revision":{"name":"revision","type":"option","char":"r","description":"start at a specific revision counter number","default":0}},"args":[]},"jayree:source:tracking:store:get":{"id":"jayree:source:tracking:store:get","description":"get stored revision counter number","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:source:tracking:store:get\n$ sfdx jayree:source:tracking:store:get -u me@my.org"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"jayree:source:tracking:store:set":{"id":"jayree:source:tracking:store:set","description":"store revision counter number","usage":"<%= command.id %> [-r <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:source:tracking:store:set\n$ sfdx jayree:source:tracking:store:set -u me@my.org\n$ sfdx jayree:source:tracking:store:set -u MyTestOrg1 -r 101"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"revision":{"name":"revision","type":"option","char":"r","description":"revision counter number (default: remote revision counter number)"}},"args":[]}}}
1
+ {"version":"4.3.8","commands":{"jayree:flowtestcoverage":{"id":"jayree:flowtestcoverage","description":"check the flow test coverage of an org","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:flowtestcoverage\n=== Flow Test Coverage\nCoverage: 82%\n...\n"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"jayree:version":{"id":"jayree:version","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","hidden":true,"aliases":[],"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)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[]},"jayree:org:settings":{"id":"jayree:org:settings","description":"write the current settings from an Org to a scratch org def file","usage":"<%= command.id %> [-w] [-f <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":["jayree:scratchorg:settings"],"examples":["$ sfdx jayree:org:settings\n$ sfdx jayree:org:settings -u me@my.org\n$ sfdx jayree:org:settings -u MyTestOrg1 -w"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"writetoprojectscratchdeffile":{"name":"writetoprojectscratchdeffile","type":"boolean","char":"w","description":"write output to project-scratch-def.json file","allowNo":false},"file":{"name":"file","type":"option","char":"f","description":"write to 'file' instead of project-scratch-def.json"}},"args":[]},"jayree:org:streaming":{"id":"jayree:org:streaming","description":"listen to streaming api and platform events","usage":"<%= command.id %> -p <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:org:streaming --topic=/event/eventName__e\n...\n"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"topic":{"name":"topic","type":"option","char":"p","description":"topic name","required":true}},"args":[]},"jayree:packagedescription:create":{"id":"jayree:packagedescription:create","description":"creates an empty package with the description","usage":"<%= command.id %> (-d <string> -f <string>) [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:packagedescription:create --file FILENAME --description 'DESCRIPTION'\n "],"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)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"file":{"name":"file","type":"option","char":"f","description":"file to create","required":true},"description":{"name":"description","type":"option","char":"d","description":"new description value","required":true}},"args":[{"name":"file"}]},"jayree:packagedescription:get":{"id":"jayree:packagedescription:get","description":"get the description within a package","usage":"<%= command.id %> -f <string> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:packagedescription:get --file FILENAME\nDescription of Package FILENAME\n "],"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)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"file":{"name":"file","type":"option","char":"f","description":"file to read","required":true}},"args":[{"name":"file"}]},"jayree:packagedescription:remove":{"id":"jayree:packagedescription:remove","description":"remove the description within a package","usage":"<%= command.id %> -f <string> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:packagedescription:remove --file FILENAME\n "],"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)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"file":{"name":"file","type":"option","char":"f","description":"file to read","required":true}},"args":[{"name":"file"}]},"jayree:packagedescription:set":{"id":"jayree:packagedescription:set","description":"set the description within a package","usage":"<%= command.id %> (-d <string> -f <string>) [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:packagedescription:set --file FILENAME --description 'NEW DESCRIPTION'\n "],"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)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"file":{"name":"file","type":"option","char":"f","description":"file to read","required":true},"description":{"name":"description","type":"option","char":"d","description":"new description value","required":true}},"args":[{"name":"file"}]},"jayree:source:fix":{"id":"jayree:source:fix","description":"fix local source files\n (examples will follow)","usage":"<%= command.id %> [-t <array>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"tag":{"name":"tag","type":"option","char":"t","description":"comma-separated list of tag names listed in .sfdx-jayree.json"},"verbose":{"name":"verbose","type":"boolean","description":"log output to console","allowNo":false}},"args":[]},"jayree:automation:changeset:deploy":{"id":"jayree:automation:changeset:deploy","description":"deploy incomming change set to an org (beta)","usage":"<%= command.id %> [-r <string> -l <string>] [-c] [--nodialog -s <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:automation:changeset:deploy -s ChangeSet -l RunLocalTests --nodialog\nDeploying Change Set 'ChangeSet'...\n\n=== Status\nStatus: Pending\njobid: 0Xxx100000xx1x1\n","$ sfdx jayree:automation:changeset:deploy\n? Change Sets Awaiting Deployment (Use arrow keys)\n ChangeSet3\n ChangeSet2\n❯ ChangeSet1\n"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"changeset":{"name":"changeset","type":"option","char":"s","description":"name of changeset to deploy","required":false},"runtests":{"name":"runtests","type":"option","char":"r","description":"tests to run if --testlevel RunSpecifiedTests","required":false},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"deployment testing level (Default,RunSpecifiedTests,RunLocalTests,RunAllTestsInOrg)","required":false,"options":["Default","RunSpecifiedTests","RunLocalTests","RunAllTestsInOrg"]},"checkonly":{"name":"checkonly","type":"boolean","char":"c","description":"validate deploy but don’t save to the org (default:false)","required":false,"allowNo":false},"nodialog":{"name":"nodialog","type":"boolean","description":"don't show the dialog wizard","required":false,"allowNo":false}},"args":[]},"jayree:automation:changeset:list":{"id":"jayree:automation:changeset:list","description":"list incomming change sets of an org (beta)","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"jayree:automation:ltngsync:status":{"id":"jayree:automation:ltngsync:status","description":"check the Lightning Sync User Sync Status and reset sync if needed (beta)","usage":"<%= command.id %> -o <string> [-s] [-w <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:automation:ltngsync:status -o 'Name'\nconfigSetup: User assigned to active Lightning Sync configuration... Yes\nuserContacts/userEvents: Salesforce and Exchange email addresses linked... Linked/Linked\nuserContacts/userEvents: Salesforce to Exchange sync status... Initial sync completed/Initial sync completed\nuserContacts/userEvents: Exchange to Salesforce sync status... Initial sync completed/Initial sync completed\n"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"officeuser":{"name":"officeuser","type":"option","char":"o","description":"'name' (firstname lastname) of the SF user","required":true},"statusonly":{"name":"statusonly","type":"boolean","char":"s","description":"get Lightning Sync status of the SF user, only","required":false,"allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"wait time for command to wait for status change in minutes (default: infinitely)","required":false}},"args":[]},"jayree:org:configure:country":{"id":"jayree:org:configure:country","description":"update country integration values in the State/Country Picklists","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":["jayree:automation:country:update"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"silent":{"name":"silent","type":"boolean","description":"silent mode","hidden":true,"required":false,"allowNo":false}},"args":[]},"jayree:org:configure":{"id":"jayree:org:configure","description":"make configuration changes that are not covered by the metadata API\nSee example configuration on how to define tasks","usage":"<%= command.id %> [-t <array>] [--concurrent] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:org:configure\n$ sfdx jayree:org:configure -u me@my.org\n$ sfdx jayree:org:configure --tasks=\"Asset Settings\",\"Activity Settings\"\n$ sfdx jayree:org:configure --concurrent --tasks=\"Asset Settings\",\"Activity Settings\""],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"tasks":{"name":"tasks","type":"option","char":"t","description":"list of task titles, if no tasks are specified, all tasks marked as active will be executed"},"concurrent":{"name":"concurrent","type":"boolean","description":"execute tasks in parallel","allowNo":false}},"args":[]},"jayree:org:configure:state":{"id":"jayree:org:configure:state","description":"import (create/update) states into the State/Country Picklists","usage":"<%= command.id %> [--countrycode <string>] [--category <string>] [--language <string>] [--concurrent <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":["jayree:automation:statecountry:import","jayree:automation:statecountry:create","jayree:automation:statecountry:update","jayree:automation:state:import"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"countrycode":{"name":"countrycode","type":"option","description":"Alpha-2 code"},"category":{"name":"category","type":"option","description":"Subdivision category"},"language":{"name":"language","type":"option","description":"Language code"},"concurrent":{"name":"concurrent","type":"option","description":"ccc","default":1}},"args":[]},"jayree:source:tracking:list":{"id":"jayree:source:tracking:list","description":"list changes in a scratch org by remote revision counter number","usage":"<%= command.id %> [-r <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:source:tracking:list\n$ sfdx jayree:source:tracking:list -u me@my.org\n$ sfdx jayree:source:tracking:list -u me@my.org -r 101"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"revision":{"name":"revision","type":"option","char":"r","description":"start at a specific revision counter number","default":0}},"args":[]},"jayree:source:tracking:store:get":{"id":"jayree:source:tracking:store:get","description":"get stored revision counter number","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:source:tracking:store:get\n$ sfdx jayree:source:tracking:store:get -u me@my.org"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"jayree:source:tracking:store:set":{"id":"jayree:source:tracking:store:set","description":"store revision counter number","usage":"<%= command.id %> [-r <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-jayree","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:source:tracking:store:set\n$ sfdx jayree:source:tracking:store:set -u me@my.org\n$ sfdx jayree:source:tracking:store:set -u MyTestOrg1 -r 101"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"revision":{"name":"revision","type":"option","char":"r","description":"revision counter number (default: remote revision counter number)"}},"args":[]}}}
package/package.json CHANGED
@@ -1,40 +1,40 @@
1
1
  {
2
2
  "name": "sfdx-jayree",
3
3
  "description": "sfdx ALM commands & more",
4
- "version": "4.3.4",
4
+ "version": "4.3.8",
5
5
  "author": "jayree <jayree.git@icloud.com>",
6
6
  "bugs": "https://github.com/jayree/sfdx-jayree-plugin/issues",
7
7
  "dependencies": {
8
- "@jayree/sfdx-plugin-manifest": "^2.1.5",
9
- "@jayree/sfdx-plugin-prettier": "^1.1.2",
8
+ "@jayree/sfdx-plugin-manifest": "^2.1.9",
9
+ "@jayree/sfdx-plugin-prettier": "^1.1.3",
10
10
  "@oclif/config": "^1.18.2",
11
11
  "@salesforce/command": "^4.2.1",
12
12
  "@salesforce/core": "^2.33.1",
13
- "@salesforce/kit": "^1.5.22",
14
- "@salesforce/source-deploy-retrieve": "^5.8.2",
13
+ "@salesforce/kit": "^1.5.30",
14
+ "@salesforce/source-deploy-retrieve": "^5.9.2",
15
15
  "adm-zip": "^0.5.9",
16
16
  "chalk": "^4.1.2",
17
- "cli-ux": "^6.0.6",
17
+ "cli-ux": "^5.6.7",
18
18
  "debug": "^4.3.3",
19
19
  "enquirer": "^2.3.6",
20
20
  "execa": "^5.1.1",
21
- "fast-xml-parser": "^3.21.1",
21
+ "fast-xml-parser": "^4.0.1",
22
22
  "fs-extra": "^10.0.0",
23
23
  "globby": "^11.0.4",
24
24
  "inquirer": "^8.2.0",
25
25
  "is-docker": "^2.2.1",
26
26
  "is-wsl": "^2.2.0",
27
- "listr2": "^3.13.5",
28
- "marked": "^4.0.8",
27
+ "listr2": "^4.0.1",
28
+ "marked": "^4.0.10",
29
29
  "marked-terminal": "^4.2.0",
30
30
  "object-path": "^0.11.8",
31
- "open": "^8.4.0",
32
31
  "puppeteer": "^13.0.1",
32
+ "semver": "^7.3.5",
33
33
  "tabletojson": "^2.0.7"
34
34
  },
35
35
  "devDependencies": {
36
- "@commitlint/cli": "^15.0.0",
37
- "@commitlint/config-conventional": "^15.0.0",
36
+ "@commitlint/cli": "^16.0.2",
37
+ "@commitlint/config-conventional": "^16.0.0",
38
38
  "@oclif/dev-cli": "^1.26.10",
39
39
  "@salesforce/dev-config": "^3.0.0",
40
40
  "@salesforce/dev-scripts": "2.0.0",
@@ -44,28 +44,30 @@
44
44
  "@types/chai": "^4.3.0",
45
45
  "@types/fs-extra": "^9.0.13",
46
46
  "@types/inquirer": "^8.1.3",
47
- "@types/jsforce": "^1.9.37",
47
+ "@types/jsforce": "^1.9.38",
48
48
  "@types/marked": "^4.0.1",
49
+ "@types/marked-terminal": "^3.1.3",
49
50
  "@types/mocha": "^9.0.0",
50
- "@types/node": "^17.0.2",
51
+ "@types/node": "^17.0.8",
52
+ "@types/semver": "^7.3.9",
51
53
  "@types/sinon": "^10.0.6",
52
- "@typescript-eslint/eslint-plugin": "^5.8.0",
53
- "@typescript-eslint/parser": "^5.8.0",
54
+ "@typescript-eslint/eslint-plugin": "^5.9.1",
55
+ "@typescript-eslint/parser": "^5.9.1",
54
56
  "chai": "^4.3.4",
55
57
  "codecov": "^3.8.3",
56
58
  "deepmerge": "^4.2.2",
57
- "eslint": "^8.5.0",
59
+ "eslint": "^8.6.0",
58
60
  "eslint-config-prettier": "^8.3.0",
59
61
  "eslint-config-salesforce": "^0.1.6",
60
62
  "eslint-config-salesforce-typescript": "^0.2.8",
61
63
  "eslint-plugin-header": "^3.1.1",
62
- "eslint-plugin-import": "^2.25.3",
63
- "eslint-plugin-jsdoc": "^37.4.0",
64
+ "eslint-plugin-import": "^2.25.4",
65
+ "eslint-plugin-jsdoc": "^37.6.1",
64
66
  "eslint-plugin-prettier": "^4.0.0",
65
67
  "husky": "^7.0.4",
66
68
  "is-ci": "^3.0.1",
67
- "mocha": "^9.1.3",
68
- "nock": "^13.2.1",
69
+ "mocha": "^9.1.4",
70
+ "nock": "^13.2.2",
69
71
  "nyc": "^15.1.0",
70
72
  "patch-package": "^6.4.7",
71
73
  "pinst": "^2.1.6",
@@ -78,7 +80,7 @@
78
80
  "typescript": "^4.5.4"
79
81
  },
80
82
  "engines": {
81
- "node": ">=14.18.1"
83
+ "node": ">=14.17.1"
82
84
  },
83
85
  "files": [
84
86
  "/lib/src",