@salesforce/plugin-packaging 1.2.0 → 1.4.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/CHANGELOG.md +8 -1
- package/README.md +232 -38
- package/lib/commands/force/package/beta/convert.d.ts +1 -5
- package/lib/commands/force/package/beta/convert.js +2 -3
- package/lib/commands/force/package/beta/convert.js.map +1 -1
- package/lib/commands/force/package/beta/create.d.ts +1 -4
- package/lib/commands/force/package/beta/create.js +2 -3
- package/lib/commands/force/package/beta/create.js.map +1 -1
- package/lib/commands/force/package/beta/delete.d.ts +1 -4
- package/lib/commands/force/package/beta/delete.js +2 -3
- package/lib/commands/force/package/beta/delete.js.map +1 -1
- package/lib/commands/force/package/beta/install/report.d.ts +1 -3
- package/lib/commands/force/package/beta/install/report.js +2 -2
- package/lib/commands/force/package/beta/install/report.js.map +1 -1
- package/lib/commands/force/package/beta/install.d.ts +1 -3
- package/lib/commands/force/package/beta/install.js +3 -3
- package/lib/commands/force/package/beta/install.js.map +1 -1
- package/lib/commands/force/package/beta/installed/list.d.ts +1 -1
- package/lib/commands/force/package/beta/installed/list.js +1 -1
- package/lib/commands/force/package/beta/installed/list.js.map +1 -1
- package/lib/commands/force/package/beta/list.d.ts +1 -4
- package/lib/commands/force/package/beta/list.js +2 -3
- package/lib/commands/force/package/beta/list.js.map +1 -1
- package/lib/commands/force/package/beta/uninstall/report.d.ts +1 -3
- package/lib/commands/force/package/beta/uninstall/report.js +2 -2
- package/lib/commands/force/package/beta/uninstall/report.js.map +1 -1
- package/lib/commands/force/package/beta/uninstall.d.ts +2 -2
- package/lib/commands/force/package/beta/uninstall.js +31 -6
- package/lib/commands/force/package/beta/uninstall.js.map +1 -1
- package/lib/commands/force/package/beta/update.d.ts +1 -4
- package/lib/commands/force/package/beta/update.js +2 -3
- package/lib/commands/force/package/beta/update.js.map +1 -1
- package/lib/commands/force/package/beta/version/create/list.d.ts +1 -5
- package/lib/commands/force/package/beta/version/create/list.js +2 -3
- package/lib/commands/force/package/beta/version/create/list.js.map +1 -1
- package/lib/commands/force/package/beta/version/create/report.d.ts +1 -3
- package/lib/commands/force/package/beta/version/create/report.js +3 -3
- package/lib/commands/force/package/beta/version/create/report.js.map +1 -1
- package/lib/commands/force/package/beta/version/create.d.ts +1 -4
- package/lib/commands/force/package/beta/version/create.js +127 -70
- package/lib/commands/force/package/beta/version/create.js.map +1 -1
- package/lib/commands/force/package/beta/version/delete.d.ts +1 -4
- package/lib/commands/force/package/beta/version/delete.js +2 -3
- package/lib/commands/force/package/beta/version/delete.js.map +1 -1
- package/lib/commands/force/package/beta/version/displayancestry.d.ts +1 -4
- package/lib/commands/force/package/beta/version/displayancestry.js +2 -3
- package/lib/commands/force/package/beta/version/displayancestry.js.map +1 -1
- package/lib/commands/force/package/beta/version/list.d.ts +1 -5
- package/lib/commands/force/package/beta/version/list.js +2 -3
- package/lib/commands/force/package/beta/version/list.js.map +1 -1
- package/lib/commands/force/package/beta/version/promote.d.ts +3 -5
- package/lib/commands/force/package/beta/version/promote.js +34 -5
- package/lib/commands/force/package/beta/version/promote.js.map +1 -1
- package/lib/commands/force/package/beta/version/report.d.ts +1 -4
- package/lib/commands/force/package/beta/version/report.js +2 -3
- package/lib/commands/force/package/beta/version/report.js.map +1 -1
- package/lib/commands/force/package/beta/version/update.d.ts +1 -4
- package/lib/commands/force/package/beta/version/update.js +2 -3
- package/lib/commands/force/package/beta/version/update.js.map +1 -1
- package/lib/commands/force/package1/beta/version/create/get.js +1 -4
- package/lib/commands/force/package1/beta/version/create/get.js.map +1 -1
- package/lib/commands/force/package1/beta/version/create.d.ts +0 -2
- package/lib/commands/force/package1/beta/version/create.js +0 -2
- package/lib/commands/force/package1/beta/version/create.js.map +1 -1
- package/lib/commands/force/package1/beta/version/display.d.ts +0 -1
- package/lib/commands/force/package1/beta/version/display.js +0 -1
- package/lib/commands/force/package1/beta/version/display.js.map +1 -1
- package/lib/commands/force/package1/beta/version/list.d.ts +0 -2
- package/lib/commands/force/package1/beta/version/list.js +0 -2
- package/lib/commands/force/package1/beta/version/list.js.map +1 -1
- package/messages/package1_version_create.md +0 -7
- package/messages/package1_version_create_get.md +5 -1
- package/messages/package2_create.md +2 -1
- package/messages/package2_update.md +2 -1
- package/messages/package2_version_create.md +2 -1
- package/messages/package2_version_create_get.md +2 -1
- package/messages/package2_version_create_list.md +2 -1
- package/messages/package2_version_get.md +1 -2
- package/messages/package2_version_list.md +2 -1
- package/messages/package2_version_update.md +2 -1
- package/messages/package_convert.md +2 -7
- package/messages/package_create.md +2 -7
- package/messages/package_delete.md +2 -5
- package/messages/package_displayancestry.md +1 -6
- package/messages/package_install.md +2 -7
- package/messages/package_install_get.md +1 -2
- package/messages/package_install_report.md +1 -6
- package/messages/package_install_request.md +1 -2
- package/messages/package_installed_list.md +0 -4
- package/messages/package_list.md +2 -7
- package/messages/package_uninstall.md +2 -11
- package/messages/package_uninstall_get.md +1 -2
- package/messages/package_uninstall_report.md +1 -6
- package/messages/package_update.md +2 -7
- package/messages/package_version_create.md +6 -1
- package/messages/package_version_create_list.md +5 -10
- package/messages/package_version_create_report.md +2 -7
- package/messages/package_version_delete.md +2 -8
- package/messages/package_version_list.md +6 -11
- package/messages/package_version_promote.md +3 -8
- package/messages/package_version_report.md +1 -6
- package/messages/package_version_update.md +2 -7
- package/oclif.manifest.json +1 -1
- package/package.json +6 -7
- package/messages/default.md +0 -1127
- package/messages/messages.json +0 -22
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../../../src/commands/force/package/beta/version/update.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,iDAAsE;AACtE,
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../../../src/commands/force/package/beta/version/update.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,yBAAyB;AACzB,iDAAsE;AACtE,2CAA4C;AAE5C,eAAQ,CAAC,uBAAuB,CAAC,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Q,CAAC,UAAU,CAAC,QAAQ,CAAC;QAC1C,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,YAAY,CAAC;KACnD,CAAC;IACF,GAAG,EAAE,eAAK,CAAC,MAAM,CAAC;QAChB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC;QACvC,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;KAChD,CAAC;IACF,eAAe,EAAE,eAAK,CAAC,MAAM,CAAC;QAC5B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC;QACvC,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;KAChD,CAAC;CACH,CAAC"}
|
|
@@ -13,7 +13,6 @@ const core_1 = require("@salesforce/core");
|
|
|
13
13
|
const packaging_1 = require("@salesforce/packaging");
|
|
14
14
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
15
15
|
const messages = core_1.Messages.loadMessages('@salesforce/plugin-packaging', 'package1_version_create_get');
|
|
16
|
-
const defaultMessages = core_1.Messages.loadMessages('@salesforce/plugin-packaging', 'default');
|
|
17
16
|
class Package1VersionCreateGetCommand extends command_1.SfdxCommand {
|
|
18
17
|
async run() {
|
|
19
18
|
var _a, _b;
|
|
@@ -22,9 +21,7 @@ class Package1VersionCreateGetCommand extends command_1.SfdxCommand {
|
|
|
22
21
|
// toolbelt was accessing request.Errors.errors, I'm unsure about this type, but was unable to reproduce an error
|
|
23
22
|
// in the wild, and decided to trust how it was working
|
|
24
23
|
const errors = (_b = (_a = result.Errors) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b.map((e) => e.message).join('\n');
|
|
25
|
-
throw
|
|
26
|
-
errors !== null && errors !== void 0 ? errors : 'Package version creation failed with unknown error',
|
|
27
|
-
]);
|
|
24
|
+
throw messages.createError('uploadFailure', [errors !== null && errors !== void 0 ? errors : 'Package version creation failed with unknown error']);
|
|
28
25
|
}
|
|
29
26
|
else {
|
|
30
27
|
const arg = result.Status === 'SUCCESS' ? [result.MetadataPackageVersionId] : [result.Id, this.org.getUsername()];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../../../src/commands/force/package1/beta/version/create/get.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,yBAAyB;AACzB,iDAAsE;AACtE,2CAA4C;AAC5C,qDAAoF;AAEpF,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,6BAA6B,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../../../src/commands/force/package1/beta/version/create/get.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,yBAAyB;AACzB,iDAAsE;AACtE,2CAA4C;AAC5C,qDAAoF;AAEpF,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,6BAA6B,CAAC,CAAC;AAEtG,MAAa,+BAAgC,SAAQ,qBAAW;IAavD,KAAK,CAAC,GAAG;;QACd,MAAM,MAAM,GAAG,MAAM,IAAA,oCAAwB,EAAC,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAE9F,IAAI,MAAM,CAAC,MAAM,KAAK,OAAO,EAAE;YAC7B,iHAAiH;YACjH,uDAAuD;YACvD,MAAM,MAAM,GAAG,MAAA,MAAC,MAAM,CAAC,MAAyC,0CAAE,MAAM,0CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;YAC3G,MAAM,QAAQ,CAAC,WAAW,CAAC,eAAe,EAAE,CAAC,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,oDAAoD,CAAC,CAAC,CAAC;SAC/G;aAAM;YACL,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;YAClH,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;SACtD;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;;AA3BH,0EA4BC;AA3BwB,2CAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;AACpD,wCAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AACzD,gDAAgB,GAAG,IAAI,CAAC;AACxB,2CAAW,GAAgB;IAChD,SAAS,EAAE,eAAK,CAAC,EAAE,CAAC;QAClB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC;QAC7C,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,eAAe,CAAC;QACrD,QAAQ,EAAE,IAAI;KACf,CAAC;CACH,CAAC"}
|
|
@@ -3,8 +3,6 @@ import { PackagingSObjects } from '@salesforce/packaging';
|
|
|
3
3
|
declare type PackageUploadRequest = PackagingSObjects.PackageUploadRequest;
|
|
4
4
|
export declare class Package1VersionCreateCommand extends SfdxCommand {
|
|
5
5
|
static readonly description: string;
|
|
6
|
-
static readonly longDescription: string;
|
|
7
|
-
static readonly help: string;
|
|
8
6
|
static readonly requiresUsername = true;
|
|
9
7
|
static readonly requiresProject = true;
|
|
10
8
|
static readonly flagsConfig: FlagsConfig;
|
|
@@ -60,8 +60,6 @@ class Package1VersionCreateCommand extends command_1.SfdxCommand {
|
|
|
60
60
|
}
|
|
61
61
|
exports.Package1VersionCreateCommand = Package1VersionCreateCommand;
|
|
62
62
|
Package1VersionCreateCommand.description = messages.getMessage('cliDescription');
|
|
63
|
-
Package1VersionCreateCommand.longDescription = messages.getMessage('cliDescriptionLong');
|
|
64
|
-
Package1VersionCreateCommand.help = messages.getMessage('cliHelp');
|
|
65
63
|
Package1VersionCreateCommand.requiresUsername = true;
|
|
66
64
|
Package1VersionCreateCommand.requiresProject = true;
|
|
67
65
|
Package1VersionCreateCommand.flagsConfig = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../../src/commands/force/package1/beta/version/create.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,iDAAsE;AACtE,2CAAuD;AACvD,yCAA2C;AAC3C,qDAAiF;AAEjF,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,yBAAyB,CAAC,CAAC;AAIlG,MAAa,4BAA6B,SAAQ,qBAAW;
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../../src/commands/force/package1/beta/version/create.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,iDAAsE;AACtE,2CAAuD;AACvD,yCAA2C;AAC3C,qDAAiF;AAEjF,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,yBAAyB,CAAC,CAAC;AAIlG,MAAa,4BAA6B,SAAQ,qBAAW;IAsDpD,KAAK,CAAC,GAAG;;QACd,MAAM,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,OAA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Ae,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC;KAC5D,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,OAAO,CAAC;QAClB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC;QACxC,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC;KACjD,CAAC;CACH,CAAC"}
|
|
@@ -2,7 +2,6 @@ import { FlagsConfig, SfdxCommand } from '@salesforce/command';
|
|
|
2
2
|
import { Package1Display } from '@salesforce/packaging';
|
|
3
3
|
export declare class Package1VersionDisplayCommand extends SfdxCommand {
|
|
4
4
|
static readonly description: string;
|
|
5
|
-
static readonly help: string;
|
|
6
5
|
static readonly requiresUsername = true;
|
|
7
6
|
static readonly flagsConfig: FlagsConfig;
|
|
8
7
|
run(): Promise<Package1Display[]>;
|
|
@@ -34,7 +34,6 @@ class Package1VersionDisplayCommand extends command_1.SfdxCommand {
|
|
|
34
34
|
}
|
|
35
35
|
exports.Package1VersionDisplayCommand = Package1VersionDisplayCommand;
|
|
36
36
|
Package1VersionDisplayCommand.description = messages.getMessage('description');
|
|
37
|
-
Package1VersionDisplayCommand.help = messages.getMessage('help');
|
|
38
37
|
Package1VersionDisplayCommand.requiresUsername = true;
|
|
39
38
|
Package1VersionDisplayCommand.flagsConfig = {
|
|
40
39
|
packageversionid: command_1.flags.id({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../../../../src/commands/force/package1/beta/version/display.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,iDAAsE;AACtE,2CAAqD;AACrD,qDAAyE;AAEzE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,0BAA0B,CAAC,CAAC;AAEnG,MAAa,6BAA8B,SAAQ,qBAAW;
|
|
1
|
+
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../../../../src/commands/force/package1/beta/version/display.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,iDAAsE;AACtE,2CAAqD;AACrD,qDAAyE;AAEzE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,0BAA0B,CAAC,CAAC;AAEnG,MAAa,6BAA8B,SAAQ,qBAAW;IAmBrD,KAAK,CAAC,GAAG;QACd,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;QACtC,MAAM,OAAO,GAAG,MAAM,IAAA,2BAAe,EAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;QAEzE,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;YACxB,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;SACjC;aAAM;YACL,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE;gBACrB,wBAAwB,EAAE,EAAE,MAAM,EAAE,0BAA0B,EAAE;gBAChE,iBAAiB,EAAE,EAAE,MAAM,EAAE,mBAAmB,EAAE;gBAClD,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE;gBACxB,OAAO,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE;gBAC9B,YAAY,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE;gBACxC,WAAW,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE;aACvC,CAAC,CAAC;SACJ;QAED,OAAO,OAAO,CAAC;IACjB,CAAC;;AArCH,sEAsCC;AArCwB,yCAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AACjD,8CAAgB,GAAG,IAAI,CAAC;AACxB,yCAAW,GAAgB;IAChD,gBAAgB,EAAE,eAAK,CAAC,EAAE,CAAC;QACzB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC;QAC7C,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,eAAe,CAAC;QACrD,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE;YACf,IAAI,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;gBACxD,OAAO,IAAI,CAAC;aACb;iBAAM;gBACL,MAAM,IAAI,cAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC;aAC5D;QACH,CAAC;KACF,CAAC;CACH,CAAC"}
|
|
@@ -2,8 +2,6 @@ import { FlagsConfig, SfdxCommand } from '@salesforce/command';
|
|
|
2
2
|
import { Package1Display } from '@salesforce/packaging';
|
|
3
3
|
export declare class Package1VersionListCommand extends SfdxCommand {
|
|
4
4
|
static readonly description: string;
|
|
5
|
-
static readonly longDescription: string;
|
|
6
|
-
static readonly help: string;
|
|
7
5
|
static readonly requiresUsername = true;
|
|
8
6
|
static readonly flagsConfig: FlagsConfig;
|
|
9
7
|
run(): Promise<Package1Display[]>;
|
|
@@ -33,8 +33,6 @@ class Package1VersionListCommand extends command_1.SfdxCommand {
|
|
|
33
33
|
}
|
|
34
34
|
exports.Package1VersionListCommand = Package1VersionListCommand;
|
|
35
35
|
Package1VersionListCommand.description = messages.getMessage('cliDescription');
|
|
36
|
-
Package1VersionListCommand.longDescription = messages.getMessage('longDescription');
|
|
37
|
-
Package1VersionListCommand.help = messages.getMessage('cliHelp');
|
|
38
36
|
Package1VersionListCommand.requiresUsername = true;
|
|
39
37
|
Package1VersionListCommand.flagsConfig = {
|
|
40
38
|
packageid: command_1.flags.id({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../../src/commands/force/package1/beta/version/list.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,iDAAsE;AACtE,2CAAqD;AACrD,qDAA6E;AAE7E,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,uBAAuB,CAAC,CAAC;AAEhG,MAAa,0BAA2B,SAAQ,qBAAW;
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../../src/commands/force/package1/beta/version/list.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,iDAAsE;AACtE,2CAAqD;AACrD,qDAA6E;AAE7E,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,uBAAuB,CAAC,CAAC;AAEhG,MAAa,0BAA2B,SAAQ,qBAAW;IAkBlD,KAAK,CAAC,GAAG;QACd,MAAM,MAAM,GAAG,MAAM,IAAA,+BAAmB,EAAC,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAEzF,IAAI,MAAM,CAAC,MAAM,EAAE;YACjB,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,EAAE;gBACpB,wBAAwB,EAAE,EAAE,MAAM,EAAE,0BAA0B,EAAE;gBAChE,iBAAiB,EAAE,EAAE,MAAM,EAAE,mBAAmB,EAAE;gBAClD,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE;gBACxB,OAAO,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE;gBAC9B,YAAY,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE;gBACxC,WAAW,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE;aACvC,CAAC,CAAC;SACJ;aAAM;YACL,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;SACjC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;;AAlCH,gEAmCC;AAlCwB,sCAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;AACpD,2CAAgB,GAAG,IAAI,CAAC;AACxB,sCAAW,GAAgB;IAChD,SAAS,EAAE,eAAK,CAAC,EAAE,CAAC;QAClB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC;QAC7C,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,eAAe,CAAC;QACrD,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE;YACf,IAAI,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;gBACxD,OAAO,IAAI,CAAC;aACb;iBAAM;gBACL,MAAM,IAAI,cAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC;aAC5D;QACH,CAAC;KACF,CAAC;CACH,CAAC"}
|
|
@@ -9,13 +9,6 @@ Use the package1 commands to create and view first-generation package versions i
|
|
|
9
9
|
# cliDescription
|
|
10
10
|
|
|
11
11
|
create a first-generation package version in the release org
|
|
12
|
-
|
|
13
|
-
# cliDescriptionLong
|
|
14
|
-
|
|
15
|
-
Creates a first-generation package version in the release org.
|
|
16
|
-
|
|
17
|
-
# cliHelp
|
|
18
|
-
|
|
19
12
|
The package version is based on the contents of the specified metadata package. Omit -m if you want to create an unmanaged package version.
|
|
20
13
|
|
|
21
14
|
# id
|
|
@@ -4,7 +4,6 @@ retrieve the status of a package version creation request
|
|
|
4
4
|
|
|
5
5
|
# examples
|
|
6
6
|
|
|
7
|
-
Examples:
|
|
8
7
|
$ sfdx force:package1:version:create:get -i 0HD...
|
|
9
8
|
$ sfdx force:package1:version:create:get -i 0HD... -u devhub@example.com
|
|
10
9
|
|
|
@@ -29,3 +28,8 @@ Successfully uploaded package [%s]
|
|
|
29
28
|
|
|
30
29
|
PackageUploadRequest has been enqueued. You can query the status using
|
|
31
30
|
sfdx force:package1:version:create:get -i %s -u %s
|
|
31
|
+
|
|
32
|
+
# uploadFailure
|
|
33
|
+
|
|
34
|
+
Package upload failed.
|
|
35
|
+
%s
|
|
@@ -12,7 +12,8 @@ First, use this command to create a second-generation package. Then create a pac
|
|
|
12
12
|
|
|
13
13
|
Your --name value must be unique within your namespace.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
# examples
|
|
16
|
+
|
|
16
17
|
$ sfdx force:package2:create -n PackageName -d 'My New Package' -o Unlocked
|
|
17
18
|
|
|
18
19
|
Run 'sfdx force:package2:list' to list all second-generation packages in the Dev Hub org.
|
|
@@ -10,7 +10,8 @@ Updates a second-generation package.
|
|
|
10
10
|
|
|
11
11
|
Specify a new value for each option you want to update.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
# examples
|
|
14
|
+
|
|
14
15
|
$ sfdx force:package2:update --package2id 0Ho... --name 'AAnalytics'
|
|
15
16
|
$ sfdx force:package2:update -i 0Ho... -d 'Advanced Analytics'
|
|
16
17
|
|
|
@@ -14,7 +14,8 @@ To retrieve details about a package version create request, including status and
|
|
|
14
14
|
|
|
15
15
|
To list package version creation requests in the org, run "sfdx force:package2:version:create:list".
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
# examples
|
|
18
|
+
|
|
18
19
|
$ sfdx force:package2:version:create -d common
|
|
19
20
|
$ sfdx force:package2:version:create -i 0Ho... -d common
|
|
20
21
|
|
|
@@ -10,7 +10,8 @@ Retrieves a second-generation package version creation request in the Dev Hub or
|
|
|
10
10
|
|
|
11
11
|
Specify the request ID for which you want to view details. If applicable, the command displays errors related to the request.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
# examples
|
|
14
|
+
|
|
14
15
|
$ sfdx force:package2:version:create:get --package2createrequestid 08c...
|
|
15
16
|
|
|
16
17
|
To show all requests in the org, run "sfdx force:package2:version:create:list".
|
|
@@ -22,7 +22,8 @@ All filter parameters are applied using the AND logical operator (not OR).
|
|
|
22
22
|
|
|
23
23
|
To get information about a specific request, run "sfdx force:package2:version:create:get" and supply the request ID.
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
# examples
|
|
26
|
+
|
|
26
27
|
$ sfdx force:package2:version:create:list
|
|
27
28
|
$ sfdx force:package2:version:create:list --createdlastdays 3
|
|
28
29
|
$ sfdx force:package2:version:create:list --status Error
|
|
@@ -6,9 +6,8 @@ retrieve a package version in the Dev Hub org
|
|
|
6
6
|
|
|
7
7
|
Retrieves a package version in the Dev Hub org.
|
|
8
8
|
|
|
9
|
-
#
|
|
9
|
+
# examples
|
|
10
10
|
|
|
11
|
-
Examples:
|
|
12
11
|
$ sfdx force:package2:version:get --package2versionid 05i...
|
|
13
12
|
|
|
14
13
|
To update package version values, run "sfdx force:package2:version:update".
|
|
@@ -54,7 +54,8 @@ Use --concise or --verbose to display limited or additional details, respectivel
|
|
|
54
54
|
|
|
55
55
|
All filter parameters are applied using the AND logical operator (not OR).
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
# examples
|
|
58
|
+
|
|
58
59
|
$ sfdx force:package2:version:list --verbose --createdlastdays 3 --released --orderby PatchVersion
|
|
59
60
|
$ sfdx force:package2:version:list --package2ids 0Ho000000000000,0Ho000000000001 --released --modifiedlastdays 0
|
|
60
61
|
$ sfdx force:package2:version:list --released
|
|
@@ -10,7 +10,8 @@ Updates a second-generation package version in the Dev Hub org.
|
|
|
10
10
|
|
|
11
11
|
Specify a new value for each option you want to update.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
# examples
|
|
14
|
+
|
|
14
15
|
$ sfdx force:package2:version:update --package2versionid 05i... --setasreleased
|
|
15
16
|
$ sfdx force:package2:version:update -i 05i... -b master -t 'Release 1.0.7'
|
|
16
17
|
|
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
creates a second-generation package version from a first-generation package
|
|
4
4
|
|
|
5
|
-
# cliLongDescription
|
|
6
|
-
|
|
7
|
-
Creates a second-generation package in the Dev Hub from a first-generation package in the Dev Hub org.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
5
|
The package convert creates a new package in the Dev Hub if one does not already exist for the specified first-generation package.
|
|
12
6
|
|
|
13
7
|
It then creates a new package version in the Dev Hub with contents based on the specified first-generation package.
|
|
@@ -20,7 +14,8 @@ We recommend specifying the --installationkey to protect the contents of your pa
|
|
|
20
14
|
|
|
21
15
|
To list package version creation requests in the org, run "sfdx force:package:version:create:list".
|
|
22
16
|
|
|
23
|
-
|
|
17
|
+
# examples
|
|
18
|
+
|
|
24
19
|
$ sfdx force:package:convert --package 033xx0000004Gmn -k password123
|
|
25
20
|
|
|
26
21
|
# package
|
|
@@ -2,19 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
create a package
|
|
4
4
|
|
|
5
|
-
# cliLongDescription
|
|
6
|
-
|
|
7
|
-
Creates a package.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
5
|
First, use this command to create a package. Then create a package version.
|
|
12
6
|
|
|
13
7
|
If you don’t have a namespace defined in your sfdx-project.json file, use --nonamespace.
|
|
14
8
|
|
|
15
9
|
Your --name value must be unique within your namespace.
|
|
16
10
|
|
|
17
|
-
|
|
11
|
+
# examples
|
|
12
|
+
|
|
18
13
|
$ sfdx force:package:create -n YourPackageName -t Unlocked -r force-app
|
|
19
14
|
$ sfdx force:package:create -n YourPackageName -d "Your Package Descripton" -t Unlocked -r force-app
|
|
20
15
|
|
|
@@ -2,15 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
delete a package
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Specify the ID or alias of the package you want to delete.
|
|
6
6
|
|
|
7
7
|
Delete unlocked and second-generation managed packages. Before you delete a package, first delete all associated package versions.
|
|
8
8
|
|
|
9
|
-
#
|
|
10
|
-
|
|
11
|
-
Specify the ID or alias of the package you want to delete.
|
|
9
|
+
# examples
|
|
12
10
|
|
|
13
|
-
Examples:
|
|
14
11
|
$ sfdx force:package:delete -p "Your Package Alias"
|
|
15
12
|
$ sfdx force:package:delete -p 0Ho...
|
|
16
13
|
|
|
@@ -2,13 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
display the ancestry tree for a 2GP managed package version
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# examples
|
|
6
6
|
|
|
7
|
-
Displays the ancestry tree for a 2GP managed package version.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
|
-
Examples:
|
|
12
7
|
$ sfdx force:package:version:displayancestry -p package_version_alias
|
|
13
8
|
$ sfdx force:package:version:displayancestry -p package_version_alias --dotcode
|
|
14
9
|
$ sfdx force:package:version:displayancestry -p OHo...
|
|
@@ -2,17 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
install a package in the target org
|
|
4
4
|
|
|
5
|
-
# cliDescriptionLong
|
|
6
|
-
|
|
7
|
-
Installs a package in the target org.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
5
|
Supply the ID of the package version to install. The package installs in your default target org unless you supply the username for a different target org.
|
|
12
6
|
|
|
13
7
|
For package upgrades, to specify options for component deprecation or deletion of removed components, include an --upgradetype value. To delete components that can be safely deleted and deprecate the others, specify --upgradetype Mixed (the default). To deprecate all removed components, specify --upgradetype DeprecateOnly. To delete all removed components, except for custom objects and custom fields, that don't have dependencies, specify --upgradetype Delete. (Note: This option can result in the loss of data that is associated with the deleted components.) The default is Mixed.
|
|
14
8
|
|
|
15
|
-
|
|
9
|
+
# examples
|
|
10
|
+
|
|
16
11
|
$ sfdx force:package:beta:install --package 04t... -u me@example.com
|
|
17
12
|
$ sfdx force:package:beta:install --package awesome_package_alias
|
|
18
13
|
$ sfdx force:package:beta:install --package "Awesome Package Alias"
|
|
@@ -6,9 +6,8 @@ retrieve the status of a package installation request
|
|
|
6
6
|
|
|
7
7
|
Retrieves the status of a package installation request.
|
|
8
8
|
|
|
9
|
-
#
|
|
9
|
+
# examples
|
|
10
10
|
|
|
11
|
-
Examples:
|
|
12
11
|
$ sfdx force:package:install:get -i 0Hf...
|
|
13
12
|
$ sfdx force:package:install:get -i 0Hf... -u me@example.com
|
|
14
13
|
|
|
@@ -2,13 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
retrieve the status of a package installation request
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# examples
|
|
6
6
|
|
|
7
|
-
Retrieves the status of a package installation request.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
|
-
Examples:
|
|
12
7
|
$ sfdx force:package:install:report -i 0Hf...
|
|
13
8
|
$ sfdx force:package:install:report -i 0Hf... -u me@example.com
|
|
14
9
|
|
package/messages/package_list.md
CHANGED
|
@@ -2,15 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
list all packages in the Dev Hub org
|
|
4
4
|
|
|
5
|
-
# cliLongDescription
|
|
6
|
-
|
|
7
|
-
Lists all packages in the Dev Hub org.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
5
|
You can view the namespace, IDs, and other details for each package.
|
|
12
6
|
|
|
13
|
-
|
|
7
|
+
# examples
|
|
8
|
+
|
|
14
9
|
$ sfdx force:package:list -v devhub@example.com
|
|
15
10
|
$ sfdx force:package:list -v devhub@example.com --verbose
|
|
16
11
|
|
|
@@ -2,15 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
uninstall a second-generation package from the target org
|
|
4
4
|
|
|
5
|
-
# cliDescriptionLong
|
|
6
|
-
|
|
7
|
-
Uninstalls a second-generation package from the target org. To uninstall a first-generation package, use the Salesforce user interface.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
5
|
Specify the package ID for a second-generation package.
|
|
12
6
|
|
|
13
|
-
|
|
7
|
+
# examples
|
|
8
|
+
|
|
14
9
|
$ sfdx force:package:beta:uninstall -p 04t... -u me@example.com
|
|
15
10
|
$ sfdx force:package:beta:uninstall -p undesirable_package_alias
|
|
16
11
|
$ sfdx force:package:beta:uninstall -p "Undesirable Package Alias"
|
|
@@ -59,10 +54,6 @@ The ID (starts with 04t) or alias of the package version to uninstall.
|
|
|
59
54
|
|
|
60
55
|
Include either a %s value or a %s value.
|
|
61
56
|
|
|
62
|
-
# invalidIdOrPackage
|
|
63
|
-
|
|
64
|
-
Invalid alias or ID: %s. Either your alias is invalid or undefined, or the ID provided is invalid (must start with 04t).
|
|
65
|
-
|
|
66
57
|
# InProgress
|
|
67
58
|
|
|
68
59
|
PackageUninstallRequest is currently InProgress.
|
|
@@ -6,9 +6,8 @@ retrieve the status of a package uninstall request
|
|
|
6
6
|
|
|
7
7
|
Retrieves the status of a package uninstall request.
|
|
8
8
|
|
|
9
|
-
#
|
|
9
|
+
# examples
|
|
10
10
|
|
|
11
|
-
Examples:
|
|
12
11
|
$ sfdx force:package:uninstall:get -i 06y...
|
|
13
12
|
$ sfdx force:package:uninstall:get -i 06y... -u me@example.com
|
|
14
13
|
|
|
@@ -2,13 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
retrieve status of package uninstall request
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# examples
|
|
6
6
|
|
|
7
|
-
Retrieves the status of a package uninstall request.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
|
-
Examples:
|
|
12
7
|
$ sfdx force:package:uninstall:report -i 06y...
|
|
13
8
|
$ sfdx force:package:uninstall:report -i 06y... -u me@example.com
|
|
14
9
|
|
|
@@ -2,15 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
update package details
|
|
4
4
|
|
|
5
|
-
# cliLongDescription
|
|
6
|
-
|
|
7
|
-
Updates details about a package. Does not create a package version.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
5
|
Specify a new value for each option you want to update.
|
|
12
6
|
|
|
13
|
-
|
|
7
|
+
# examples
|
|
8
|
+
|
|
14
9
|
$ sfdx force:package:update -p "Your Package Alias" -n "New Package Name"
|
|
15
10
|
$ sfdx force:package:update -p 0Ho... -d "New Package Description"
|
|
16
11
|
|
|
@@ -20,7 +20,8 @@ To promote a package version to released, you must use the --codecoverage parame
|
|
|
20
20
|
|
|
21
21
|
We don’t calculate code coverage for org-dependent unlocked packages, or for package versions that specify --skipvalidation.
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
# examples
|
|
24
|
+
|
|
24
25
|
$ sfdx force:package:version:create -d common -k password123
|
|
25
26
|
$ sfdx force:package:version:create -p "Your Package Alias" -k password123
|
|
26
27
|
$ sfdx force:package:version:create -p 0Ho... -k password123
|
|
@@ -299,3 +300,7 @@ Package version creation failed with unknown error.
|
|
|
299
300
|
# malformedUrl
|
|
300
301
|
|
|
301
302
|
The %s value "%s" from the command line or sfdx-project.json is not in the correct format for a URL. It must be a valid URL in the format "http://salesforce.com". More information: https://nodejs.org/api/url.html#url_url_strings_and_url_objects
|
|
303
|
+
|
|
304
|
+
# requestInProgress
|
|
305
|
+
|
|
306
|
+
Request in progress. Sleeping %s seconds. Will wait a total of %s more seconds before timing out. Current Status=%s.
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
list package version creation requests
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Shows the details of each request to create a package version in the Dev Hub org.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
All filter parameters are applied using the AND logical operator (not OR).
|
|
8
|
+
|
|
9
|
+
To get information about a specific request, run "sfdx force:package:version:create:report" and supply the request ID.
|
|
8
10
|
|
|
9
11
|
# statusDescription
|
|
10
12
|
|
|
@@ -14,15 +16,8 @@ filter the list by version creation request status
|
|
|
14
16
|
|
|
15
17
|
Filters the list based on the status of version creation requests.
|
|
16
18
|
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
Shows the details of each request to create a package version in the Dev Hub org.
|
|
20
|
-
|
|
21
|
-
All filter parameters are applied using the AND logical operator (not OR).
|
|
22
|
-
|
|
23
|
-
To get information about a specific request, run "sfdx force:package:version:create:report" and supply the request ID.
|
|
19
|
+
# examples
|
|
24
20
|
|
|
25
|
-
Examples:
|
|
26
21
|
$ sfdx force:package:version:create:list
|
|
27
22
|
$ sfdx force:package:version:create:list --createdlastdays 3
|
|
28
23
|
$ sfdx force:package:version:create:list --status Error
|
|
@@ -2,15 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
retrieve details about a package version creation request
|
|
4
4
|
|
|
5
|
-
# cliLongDescription
|
|
6
|
-
|
|
7
|
-
Retrieves details about a package version creation request in the Dev Hub org.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
5
|
Specify the request ID for which you want to view details. If applicable, the command displays errors related to the request.
|
|
12
6
|
|
|
13
|
-
|
|
7
|
+
# examples
|
|
8
|
+
|
|
14
9
|
$ sfdx force:package:version:create:report -i 08c...
|
|
15
10
|
$ sfdx force:package:version:create:report -i 08c... -v devhub@example.com
|
|
16
11
|
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
# cliDescription
|
|
2
2
|
|
|
3
3
|
delete a package version
|
|
4
|
-
|
|
5
|
-
# cliLongDescription
|
|
6
|
-
|
|
7
|
-
Delete unlocked and second-generation managed package versions.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
4
|
Specify the ID or alias of the package version you want to delete.
|
|
12
5
|
|
|
13
|
-
|
|
6
|
+
# examples
|
|
7
|
+
|
|
14
8
|
$ sfdx force:package:version:delete -p "Your Package Alias"
|
|
15
9
|
$ sfdx force:package:version:delete -p 04t...
|
|
16
10
|
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# cliDescription
|
|
2
2
|
|
|
3
|
-
list all package versions in the Dev Hub org
|
|
3
|
+
list all package versions in the Dev Hub org.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Displays details of each package version in the org.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Use --concise or --verbose to display limited or additional details, respectively.
|
|
8
|
+
|
|
9
|
+
All filter parameters are applied using the AND logical operator (not OR).
|
|
8
10
|
|
|
9
11
|
# conciseDescription
|
|
10
12
|
|
|
@@ -46,15 +48,8 @@ display extended package version details
|
|
|
46
48
|
|
|
47
49
|
Displays extended package version details.
|
|
48
50
|
|
|
49
|
-
#
|
|
50
|
-
|
|
51
|
-
Displays details of each package version in the org.
|
|
52
|
-
|
|
53
|
-
Use --concise or --verbose to display limited or additional details, respectively.
|
|
54
|
-
|
|
55
|
-
All filter parameters are applied using the AND logical operator (not OR).
|
|
51
|
+
# examples
|
|
56
52
|
|
|
57
|
-
Examples:
|
|
58
53
|
$ sfdx force:package:version:list --verbose --createdlastdays 3 --released --orderby PatchVersion
|
|
59
54
|
$ sfdx force:package:version:list --packages 0Ho000000000000,0Ho000000000001 --released --modifiedlastdays 0
|
|
60
55
|
$ sfdx force:package:version:list --released
|