prodlysfcli 1.1.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -6
- package/lib/commands/prodly/checkin.d.ts +9 -9
- package/lib/commands/prodly/checkin.js +3 -3
- package/lib/commands/prodly/checkin.js.map +1 -1
- package/lib/commands/prodly/checkout.d.ts +10 -10
- package/lib/commands/prodly/checkout.js +1 -1
- package/lib/commands/prodly/checkout.js.map +1 -1
- package/lib/commands/prodly/deploy.d.ts +12 -12
- package/lib/commands/prodly/deploy.js +7 -6
- package/lib/commands/prodly/deploy.js.map +1 -1
- package/lib/commands/prodly/jobs.d.ts +2 -2
- package/lib/commands/prodly/jobs.js +1 -1
- package/lib/commands/prodly/jobs.js.map +1 -1
- package/lib/commands/prodly/manage.d.ts +11 -11
- package/lib/commands/prodly/manage.js +2 -2
- package/lib/commands/prodly/manage.js.map +1 -1
- package/lib/commands/prodly/version.d.ts +15 -0
- package/lib/commands/prodly/version.js +68 -0
- package/lib/commands/prodly/version.js.map +1 -0
- package/lib/services/connections.js +1 -1
- package/lib/services/connections.js.map +1 -1
- package/lib/services/manage-instances.d.ts +3 -2
- package/lib/services/manage-instances.js +16 -2
- package/lib/services/manage-instances.js.map +1 -1
- package/lib/services/manage-instances.types.d.ts +10 -0
- package/lib/services/queries.d.ts +1 -1
- package/lib/types/generic.d.ts +3 -5
- package/messages/prodly.checkout.md +6 -6
- package/messages/prodly.json +11 -3
- package/messages/prodly.version.md +12 -0
- package/npm-shrinkwrap.json +5036 -8885
- package/oclif.lock +2755 -4433
- package/oclif.manifest.json +143 -9
- package/package.json +10 -10
package/oclif.manifest.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"prodly:checkin": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {},
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "Save data from a Salesforce environment to a VCS repository branch.",
|
|
7
7
|
"examples": [
|
|
8
8
|
"<%= config.bin %> prodly:checkin --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com\nSave managed data to the branch associated with the managed instance identified by the target username.\nThe instance should be managed by the Prodly account associated with the provided DevHub control org.",
|
|
9
9
|
"<%= config.bin %> prodly:checkin -u test-utxac7gbati9@example.com\nSave managed data to the branch associated with the managed instance identified by the target username.\nThe instance should be managed by the Prodly account associated with the default DevHub control org.",
|
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
"allowNo": false,
|
|
18
18
|
"type": "boolean"
|
|
19
19
|
},
|
|
20
|
+
"flags-dir": {
|
|
21
|
+
"helpGroup": "GLOBAL",
|
|
22
|
+
"name": "flags-dir",
|
|
23
|
+
"summary": "Import flag values from a directory.",
|
|
24
|
+
"hasDynamicHelp": false,
|
|
25
|
+
"multiple": false,
|
|
26
|
+
"type": "option"
|
|
27
|
+
},
|
|
20
28
|
"target-dev-hub": {
|
|
21
29
|
"char": "v",
|
|
22
30
|
"name": "target-dev-hub",
|
|
@@ -120,11 +128,11 @@
|
|
|
120
128
|
"prodly:checkout": {
|
|
121
129
|
"aliases": [],
|
|
122
130
|
"args": {},
|
|
123
|
-
"description": "
|
|
131
|
+
"description": "Deploy data from a VCS repository branch to a Salesforce environment.",
|
|
124
132
|
"examples": [
|
|
125
|
-
"<%= config.bin %> prodly:
|
|
126
|
-
"<%= config.bin %> prodly:
|
|
127
|
-
"<%= config.bin %> prodly:
|
|
133
|
+
"<%= config.bin %> prodly:checkout --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com\nDeploy managed data to the managed instance identified by the target org from the associated branch.\nThe instance should be managed by the Prodly account associated with the provided DevHub control org.",
|
|
134
|
+
"<%= config.bin %> prodly:checkout -u test-utxac7gbati9@example.com\nDeploy managed data to the managed instance org identified by the target username from the associated branch.\nThe instance should be managed by the Prodly account associated with the default DevHub control org.",
|
|
135
|
+
"<%= config.bin %> prodly:checkout -i f50616b6-57b1-4941-802f-ee0e2506f217\nDeploy managed data to the managed instance org from the associated branch.\nThe instance should be managed by the Prodly account associated with the default DevHub control org."
|
|
128
136
|
],
|
|
129
137
|
"flags": {
|
|
130
138
|
"json": {
|
|
@@ -134,6 +142,14 @@
|
|
|
134
142
|
"allowNo": false,
|
|
135
143
|
"type": "boolean"
|
|
136
144
|
},
|
|
145
|
+
"flags-dir": {
|
|
146
|
+
"helpGroup": "GLOBAL",
|
|
147
|
+
"name": "flags-dir",
|
|
148
|
+
"summary": "Import flag values from a directory.",
|
|
149
|
+
"hasDynamicHelp": false,
|
|
150
|
+
"multiple": false,
|
|
151
|
+
"type": "option"
|
|
152
|
+
},
|
|
137
153
|
"target-dev-hub": {
|
|
138
154
|
"char": "v",
|
|
139
155
|
"name": "target-dev-hub",
|
|
@@ -243,7 +259,7 @@
|
|
|
243
259
|
"prodly:deploy": {
|
|
244
260
|
"aliases": [],
|
|
245
261
|
"args": {},
|
|
246
|
-
"description": "
|
|
262
|
+
"description": "Deploy data from one Salesforce environment directly to another Salesforce environment.",
|
|
247
263
|
"examples": [
|
|
248
264
|
"<%= config.bin %> prodly:deploy -n scratchorg -u FixesScratchOrg -v MainDevHub\nCommand output... deploying from the dev hub, the control org, to the scratch org, auto managed with provided name.",
|
|
249
265
|
"<%= config.bin %> prodly:deploy --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com\nCommand output... deploying from the dev hub, the control org, to the scratch org. Long param names.",
|
|
@@ -258,6 +274,14 @@
|
|
|
258
274
|
"allowNo": false,
|
|
259
275
|
"type": "boolean"
|
|
260
276
|
},
|
|
277
|
+
"flags-dir": {
|
|
278
|
+
"helpGroup": "GLOBAL",
|
|
279
|
+
"name": "flags-dir",
|
|
280
|
+
"summary": "Import flag values from a directory.",
|
|
281
|
+
"hasDynamicHelp": false,
|
|
282
|
+
"multiple": false,
|
|
283
|
+
"type": "option"
|
|
284
|
+
},
|
|
261
285
|
"target-dev-hub": {
|
|
262
286
|
"char": "v",
|
|
263
287
|
"name": "target-dev-hub",
|
|
@@ -382,7 +406,7 @@
|
|
|
382
406
|
"prodly:jobs": {
|
|
383
407
|
"aliases": [],
|
|
384
408
|
"args": {},
|
|
385
|
-
"description": "
|
|
409
|
+
"description": " Check the job status.",
|
|
386
410
|
"examples": [
|
|
387
411
|
"<%= config.bin %> prodly:jobs -j jobId -v MainDevHub\nPrint the job status for the provided job Id."
|
|
388
412
|
],
|
|
@@ -394,6 +418,14 @@
|
|
|
394
418
|
"allowNo": false,
|
|
395
419
|
"type": "boolean"
|
|
396
420
|
},
|
|
421
|
+
"flags-dir": {
|
|
422
|
+
"helpGroup": "GLOBAL",
|
|
423
|
+
"name": "flags-dir",
|
|
424
|
+
"summary": "Import flag values from a directory.",
|
|
425
|
+
"hasDynamicHelp": false,
|
|
426
|
+
"multiple": false,
|
|
427
|
+
"type": "option"
|
|
428
|
+
},
|
|
397
429
|
"target-dev-hub": {
|
|
398
430
|
"char": "v",
|
|
399
431
|
"name": "target-dev-hub",
|
|
@@ -439,7 +471,7 @@
|
|
|
439
471
|
"prodly:manage": {
|
|
440
472
|
"aliases": [],
|
|
441
473
|
"args": {},
|
|
442
|
-
"description": "
|
|
474
|
+
"description": "Authorize (or unauthorize) a Salesforce environment (not already added to the Environments page in Release tab) for use by the plugin.",
|
|
443
475
|
"examples": [
|
|
444
476
|
"<%= config.bin %> prodly:manage -l -p\nList and print all of the managed instances for the Prodly account associated with the default DevHub control org.",
|
|
445
477
|
"<%= config.bin %> prodly:manage -m --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com\nManage the org associated with the target username under the Prodly account associated with the provided DevHub control org.",
|
|
@@ -453,6 +485,14 @@
|
|
|
453
485
|
"allowNo": false,
|
|
454
486
|
"type": "boolean"
|
|
455
487
|
},
|
|
488
|
+
"flags-dir": {
|
|
489
|
+
"helpGroup": "GLOBAL",
|
|
490
|
+
"name": "flags-dir",
|
|
491
|
+
"summary": "Import flag values from a directory.",
|
|
492
|
+
"hasDynamicHelp": false,
|
|
493
|
+
"multiple": false,
|
|
494
|
+
"type": "option"
|
|
495
|
+
},
|
|
456
496
|
"target-dev-hub": {
|
|
457
497
|
"char": "v",
|
|
458
498
|
"name": "target-dev-hub",
|
|
@@ -562,7 +602,101 @@
|
|
|
562
602
|
"prodly:manage",
|
|
563
603
|
"manage:prodly"
|
|
564
604
|
]
|
|
605
|
+
},
|
|
606
|
+
"prodly:version": {
|
|
607
|
+
"aliases": [],
|
|
608
|
+
"args": {},
|
|
609
|
+
"description": "Adds version control to a managed environment.",
|
|
610
|
+
"examples": [
|
|
611
|
+
"<%= config.bin %> prodly:version -s main\nAdd version control to the managed instance identified by the target org. Use the \"main\" branch.\nThe instance should be managed by the Prodly account associated with the default DevHub control org.",
|
|
612
|
+
"<%= config.bin %> prodly:version -s main -b cli-branch -i f50616b6-57b1-4941-802f-ee0e2506f217\nAdd version control to the managed instance identified by the provided ID. Use the \"main\" branch as a base for a new branch called \"cli-branch\"\nThe instance should be managed by the Prodly account associated with the default DevHub control org."
|
|
613
|
+
],
|
|
614
|
+
"flags": {
|
|
615
|
+
"json": {
|
|
616
|
+
"description": "Format output as json.",
|
|
617
|
+
"helpGroup": "GLOBAL",
|
|
618
|
+
"name": "json",
|
|
619
|
+
"allowNo": false,
|
|
620
|
+
"type": "boolean"
|
|
621
|
+
},
|
|
622
|
+
"flags-dir": {
|
|
623
|
+
"helpGroup": "GLOBAL",
|
|
624
|
+
"name": "flags-dir",
|
|
625
|
+
"summary": "Import flag values from a directory.",
|
|
626
|
+
"hasDynamicHelp": false,
|
|
627
|
+
"multiple": false,
|
|
628
|
+
"type": "option"
|
|
629
|
+
},
|
|
630
|
+
"new-branch": {
|
|
631
|
+
"char": "b",
|
|
632
|
+
"name": "new-branch",
|
|
633
|
+
"required": false,
|
|
634
|
+
"summary": "if provided it creates a new branch based on the source branch that will be used for version control",
|
|
635
|
+
"hasDynamicHelp": false,
|
|
636
|
+
"multiple": false,
|
|
637
|
+
"type": "option"
|
|
638
|
+
},
|
|
639
|
+
"source-branch": {
|
|
640
|
+
"char": "s",
|
|
641
|
+
"name": "source-branch",
|
|
642
|
+
"required": true,
|
|
643
|
+
"summary": "the version control branch or the base for the new branch (if provided)",
|
|
644
|
+
"hasDynamicHelp": false,
|
|
645
|
+
"multiple": false,
|
|
646
|
+
"type": "option"
|
|
647
|
+
},
|
|
648
|
+
"target-dev-hub": {
|
|
649
|
+
"char": "v",
|
|
650
|
+
"name": "target-dev-hub",
|
|
651
|
+
"noCacheDefault": true,
|
|
652
|
+
"required": true,
|
|
653
|
+
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
654
|
+
"hasDynamicHelp": true,
|
|
655
|
+
"multiple": false,
|
|
656
|
+
"type": "option"
|
|
657
|
+
},
|
|
658
|
+
"target-org": {
|
|
659
|
+
"char": "o",
|
|
660
|
+
"name": "target-org",
|
|
661
|
+
"noCacheDefault": true,
|
|
662
|
+
"required": true,
|
|
663
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
664
|
+
"hasDynamicHelp": true,
|
|
665
|
+
"multiple": false,
|
|
666
|
+
"type": "option"
|
|
667
|
+
},
|
|
668
|
+
"instance": {
|
|
669
|
+
"char": "i",
|
|
670
|
+
"name": "instance",
|
|
671
|
+
"required": false,
|
|
672
|
+
"summary": "managed instance ID on which to perform the action",
|
|
673
|
+
"hasDynamicHelp": false,
|
|
674
|
+
"multiple": false,
|
|
675
|
+
"type": "option"
|
|
676
|
+
}
|
|
677
|
+
},
|
|
678
|
+
"hasDynamicHelp": true,
|
|
679
|
+
"hiddenAliases": [],
|
|
680
|
+
"id": "prodly:version",
|
|
681
|
+
"pluginAlias": "prodlysfcli",
|
|
682
|
+
"pluginName": "prodlysfcli",
|
|
683
|
+
"pluginType": "core",
|
|
684
|
+
"strict": true,
|
|
685
|
+
"summary": "prodly:version command",
|
|
686
|
+
"enableJsonFlag": true,
|
|
687
|
+
"isESM": true,
|
|
688
|
+
"relativePath": [
|
|
689
|
+
"lib",
|
|
690
|
+
"commands",
|
|
691
|
+
"prodly",
|
|
692
|
+
"version.js"
|
|
693
|
+
],
|
|
694
|
+
"aliasPermutations": [],
|
|
695
|
+
"permutations": [
|
|
696
|
+
"prodly:version",
|
|
697
|
+
"version:prodly"
|
|
698
|
+
]
|
|
565
699
|
}
|
|
566
700
|
},
|
|
567
|
-
"version": "1.1
|
|
701
|
+
"version": "1.2.1"
|
|
568
702
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prodlysfcli",
|
|
3
3
|
"description": "A plugin which provides Prodly application commands on top of the Salesforce CLI.",
|
|
4
|
-
"version": "1.1
|
|
4
|
+
"version": "1.2.1",
|
|
5
5
|
"author": "Prodly Inc.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -11,18 +11,18 @@
|
|
|
11
11
|
"url": "https://github.com/prodly/prodly-sf-cli/issues"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@oclif/core": "^
|
|
15
|
-
"@salesforce/core": "
|
|
16
|
-
"@salesforce/sf-plugins-core": "
|
|
14
|
+
"@oclif/core": "^4.0.23",
|
|
15
|
+
"@salesforce/core": "8.6.1",
|
|
16
|
+
"@salesforce/sf-plugins-core": "11.3.10"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@oclif/plugin-command-snapshot": "^5.
|
|
20
|
-
"@salesforce/cli-plugins-testkit": "^5.
|
|
21
|
-
"@salesforce/dev-scripts": "^
|
|
22
|
-
"eslint-plugin-sf-plugin": "^1.
|
|
23
|
-
"oclif": "^4.
|
|
19
|
+
"@oclif/plugin-command-snapshot": "^5.2.17",
|
|
20
|
+
"@salesforce/cli-plugins-testkit": "^5.3.33",
|
|
21
|
+
"@salesforce/dev-scripts": "^10.2.10",
|
|
22
|
+
"eslint-plugin-sf-plugin": "^1.20.8",
|
|
23
|
+
"oclif": "^4.14.36",
|
|
24
24
|
"ts-node": "^10.9.2",
|
|
25
|
-
"typescript": "^5.
|
|
25
|
+
"typescript": "^5.6.2"
|
|
26
26
|
},
|
|
27
27
|
"lint-staged": {
|
|
28
28
|
"**/*.{ts}": "eslint --cache --fix"
|