@commercelayer/cli-plugin-provisioning 1.0.1 → 2.0.0-oclif3.10

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.
Files changed (39) hide show
  1. package/README.md +68 -16
  2. package/bin/run.js +7 -0
  3. package/lib/base.d.ts +16 -6
  4. package/lib/base.js +115 -92
  5. package/lib/commands/provisioning/create.d.ts +14 -7
  6. package/lib/commands/provisioning/create.js +48 -44
  7. package/lib/commands/provisioning/delete.d.ts +8 -4
  8. package/lib/commands/provisioning/delete.js +21 -20
  9. package/lib/commands/provisioning/exec.d.ts +4 -4
  10. package/lib/commands/provisioning/exec.js +18 -18
  11. package/lib/commands/provisioning/fetch.d.ts +14 -9
  12. package/lib/commands/provisioning/fetch.js +19 -18
  13. package/lib/commands/provisioning/get.d.ts +13 -9
  14. package/lib/commands/provisioning/get.js +16 -15
  15. package/lib/commands/provisioning/list.d.ts +14 -7
  16. package/lib/commands/provisioning/list.js +65 -61
  17. package/lib/commands/provisioning/noc.js +2 -2
  18. package/lib/commands/provisioning/relationship.d.ts +14 -10
  19. package/lib/commands/provisioning/relationship.js +26 -23
  20. package/lib/commands/provisioning/resources.js +9 -9
  21. package/lib/commands/provisioning/retrieve.d.ts +9 -5
  22. package/lib/commands/provisioning/retrieve.js +43 -42
  23. package/lib/commands/provisioning/update.d.ts +14 -10
  24. package/lib/commands/provisioning/update.js +57 -55
  25. package/lib/lang/curl.d.ts +4 -0
  26. package/lib/lang/curl.js +17 -0
  27. package/lib/lang/index.d.ts +19 -0
  28. package/lib/lang/index.js +51 -0
  29. package/lib/lang/node.d.ts +4 -0
  30. package/lib/lang/node.js +26 -0
  31. package/lib/lang/request.d.ts +32 -0
  32. package/lib/lang/request.js +108 -0
  33. package/lib/lang/ruby.d.ts +4 -0
  34. package/lib/lang/ruby.js +7 -0
  35. package/oclif.manifest.json +508 -12
  36. package/package.json +21 -19
  37. package/bin/dev +0 -18
  38. package/bin/dev.cmd +0 -3
  39. package/bin/run +0 -5
@@ -81,6 +81,66 @@
81
81
  "allowNo": false,
82
82
  "type": "boolean"
83
83
  },
84
+ "doc": {
85
+ "description": "show the CLI command in a specific language",
86
+ "exclusive": [
87
+ "raw"
88
+ ],
89
+ "helpGroup": "documentation",
90
+ "name": "doc",
91
+ "allowNo": false,
92
+ "type": "boolean"
93
+ },
94
+ "lang": {
95
+ "char": "l",
96
+ "dependsOn": [
97
+ "doc"
98
+ ],
99
+ "description": "show the CLI command in the specified language syntax",
100
+ "exclusive": [
101
+ "curl",
102
+ "node"
103
+ ],
104
+ "helpGroup": "documentation",
105
+ "name": "lang",
106
+ "hasDynamicHelp": false,
107
+ "multiple": false,
108
+ "options": [
109
+ "curl",
110
+ "node"
111
+ ],
112
+ "type": "option"
113
+ },
114
+ "curl": {
115
+ "dependsOn": [
116
+ "doc"
117
+ ],
118
+ "description": "show the equivalent cURL command of the CLI command",
119
+ "exclusive": [
120
+ "lang",
121
+ "node"
122
+ ],
123
+ "helpGroup": "documentation",
124
+ "hidden": false,
125
+ "name": "curl",
126
+ "allowNo": false,
127
+ "type": "boolean"
128
+ },
129
+ "node": {
130
+ "dependsOn": [
131
+ "doc"
132
+ ],
133
+ "description": "show the equivalent Node SDK source code of the CLI command",
134
+ "exclusive": [
135
+ "lang",
136
+ "curl"
137
+ ],
138
+ "helpGroup": "documentation",
139
+ "hidden": false,
140
+ "name": "node",
141
+ "allowNo": false,
142
+ "type": "boolean"
143
+ },
84
144
  "headers": {
85
145
  "char": "H",
86
146
  "dependsOn": [
@@ -163,6 +223,7 @@
163
223
  "pluginName": "@commercelayer/cli-plugin-provisioning",
164
224
  "pluginType": "core",
165
225
  "strict": true,
226
+ "enableJsonFlag": false,
166
227
  "isESM": false,
167
228
  "relativePath": [
168
229
  "lib",
@@ -256,6 +317,66 @@
256
317
  "allowNo": false,
257
318
  "type": "boolean"
258
319
  },
320
+ "doc": {
321
+ "description": "show the CLI command in a specific language",
322
+ "exclusive": [
323
+ "raw"
324
+ ],
325
+ "helpGroup": "documentation",
326
+ "name": "doc",
327
+ "allowNo": false,
328
+ "type": "boolean"
329
+ },
330
+ "lang": {
331
+ "char": "l",
332
+ "dependsOn": [
333
+ "doc"
334
+ ],
335
+ "description": "show the CLI command in the specified language syntax",
336
+ "exclusive": [
337
+ "curl",
338
+ "node"
339
+ ],
340
+ "helpGroup": "documentation",
341
+ "name": "lang",
342
+ "hasDynamicHelp": false,
343
+ "multiple": false,
344
+ "options": [
345
+ "curl",
346
+ "node"
347
+ ],
348
+ "type": "option"
349
+ },
350
+ "curl": {
351
+ "dependsOn": [
352
+ "doc"
353
+ ],
354
+ "description": "show the equivalent cURL command of the CLI command",
355
+ "exclusive": [
356
+ "lang",
357
+ "node"
358
+ ],
359
+ "helpGroup": "documentation",
360
+ "hidden": false,
361
+ "name": "curl",
362
+ "allowNo": false,
363
+ "type": "boolean"
364
+ },
365
+ "node": {
366
+ "dependsOn": [
367
+ "doc"
368
+ ],
369
+ "description": "show the equivalent Node SDK source code of the CLI command",
370
+ "exclusive": [
371
+ "lang",
372
+ "curl"
373
+ ],
374
+ "helpGroup": "documentation",
375
+ "hidden": false,
376
+ "name": "node",
377
+ "allowNo": false,
378
+ "type": "boolean"
379
+ },
259
380
  "headers": {
260
381
  "char": "H",
261
382
  "dependsOn": [
@@ -292,6 +413,7 @@
292
413
  "pluginName": "@commercelayer/cli-plugin-provisioning",
293
414
  "pluginType": "core",
294
415
  "strict": true,
416
+ "enableJsonFlag": false,
295
417
  "isESM": false,
296
418
  "relativePath": [
297
419
  "lib",
@@ -364,6 +486,7 @@
364
486
  "pluginName": "@commercelayer/cli-plugin-provisioning",
365
487
  "pluginType": "core",
366
488
  "strict": true,
489
+ "enableJsonFlag": false,
367
490
  "isESM": false,
368
491
  "relativePath": [
369
492
  "lib",
@@ -378,6 +501,11 @@
378
501
  "pf"
379
502
  ],
380
503
  "args": {
504
+ "resource": {
505
+ "description": "the resource type",
506
+ "name": "resource",
507
+ "required": true
508
+ },
381
509
  "path": {
382
510
  "description": "path (or URL) of the resource(s) to fetch",
383
511
  "name": "path",
@@ -458,6 +586,66 @@
458
586
  "allowNo": false,
459
587
  "type": "boolean"
460
588
  },
589
+ "doc": {
590
+ "description": "show the CLI command in a specific language",
591
+ "exclusive": [
592
+ "raw"
593
+ ],
594
+ "helpGroup": "documentation",
595
+ "name": "doc",
596
+ "allowNo": false,
597
+ "type": "boolean"
598
+ },
599
+ "lang": {
600
+ "char": "l",
601
+ "dependsOn": [
602
+ "doc"
603
+ ],
604
+ "description": "show the CLI command in the specified language syntax",
605
+ "exclusive": [
606
+ "curl",
607
+ "node"
608
+ ],
609
+ "helpGroup": "documentation",
610
+ "name": "lang",
611
+ "hasDynamicHelp": false,
612
+ "multiple": false,
613
+ "options": [
614
+ "curl",
615
+ "node"
616
+ ],
617
+ "type": "option"
618
+ },
619
+ "curl": {
620
+ "dependsOn": [
621
+ "doc"
622
+ ],
623
+ "description": "show the equivalent cURL command of the CLI command",
624
+ "exclusive": [
625
+ "lang",
626
+ "node"
627
+ ],
628
+ "helpGroup": "documentation",
629
+ "hidden": false,
630
+ "name": "curl",
631
+ "allowNo": false,
632
+ "type": "boolean"
633
+ },
634
+ "node": {
635
+ "dependsOn": [
636
+ "doc"
637
+ ],
638
+ "description": "show the equivalent Node SDK source code of the CLI command",
639
+ "exclusive": [
640
+ "lang",
641
+ "curl"
642
+ ],
643
+ "helpGroup": "documentation",
644
+ "hidden": false,
645
+ "name": "node",
646
+ "allowNo": false,
647
+ "type": "boolean"
648
+ },
461
649
  "headers": {
462
650
  "char": "H",
463
651
  "dependsOn": [
@@ -548,6 +736,7 @@
548
736
  "pluginName": "@commercelayer/cli-plugin-provisioning",
549
737
  "pluginType": "core",
550
738
  "strict": false,
739
+ "enableJsonFlag": false,
551
740
  "isESM": false,
552
741
  "relativePath": [
553
742
  "lib",
@@ -642,6 +831,66 @@
642
831
  "allowNo": false,
643
832
  "type": "boolean"
644
833
  },
834
+ "doc": {
835
+ "description": "show the CLI command in a specific language",
836
+ "exclusive": [
837
+ "raw"
838
+ ],
839
+ "helpGroup": "documentation",
840
+ "name": "doc",
841
+ "allowNo": false,
842
+ "type": "boolean"
843
+ },
844
+ "lang": {
845
+ "char": "l",
846
+ "dependsOn": [
847
+ "doc"
848
+ ],
849
+ "description": "show the CLI command in the specified language syntax",
850
+ "exclusive": [
851
+ "curl",
852
+ "node"
853
+ ],
854
+ "helpGroup": "documentation",
855
+ "name": "lang",
856
+ "hasDynamicHelp": false,
857
+ "multiple": false,
858
+ "options": [
859
+ "curl",
860
+ "node"
861
+ ],
862
+ "type": "option"
863
+ },
864
+ "curl": {
865
+ "dependsOn": [
866
+ "doc"
867
+ ],
868
+ "description": "show the equivalent cURL command of the CLI command",
869
+ "exclusive": [
870
+ "lang",
871
+ "node"
872
+ ],
873
+ "helpGroup": "documentation",
874
+ "hidden": false,
875
+ "name": "curl",
876
+ "allowNo": false,
877
+ "type": "boolean"
878
+ },
879
+ "node": {
880
+ "dependsOn": [
881
+ "doc"
882
+ ],
883
+ "description": "show the equivalent Node SDK source code of the CLI command",
884
+ "exclusive": [
885
+ "lang",
886
+ "curl"
887
+ ],
888
+ "helpGroup": "documentation",
889
+ "hidden": false,
890
+ "name": "node",
891
+ "allowNo": false,
892
+ "type": "boolean"
893
+ },
645
894
  "headers": {
646
895
  "char": "H",
647
896
  "dependsOn": [
@@ -670,6 +919,17 @@
670
919
  "allowNo": false,
671
920
  "type": "boolean"
672
921
  },
922
+ "extract": {
923
+ "char": "e",
924
+ "description": "extract subfields from object attributes",
925
+ "exclusive": [
926
+ "raw"
927
+ ],
928
+ "name": "extract",
929
+ "hasDynamicHelp": false,
930
+ "multiple": true,
931
+ "type": "option"
932
+ },
673
933
  "where": {
674
934
  "char": "w",
675
935
  "description": "comma separated list of query filters",
@@ -702,17 +962,6 @@
702
962
  "multiple": true,
703
963
  "type": "option"
704
964
  },
705
- "extract": {
706
- "char": "e",
707
- "description": "extract subfields from object attributes",
708
- "exclusive": [
709
- "raw"
710
- ],
711
- "name": "extract",
712
- "hasDynamicHelp": false,
713
- "multiple": true,
714
- "type": "option"
715
- },
716
965
  "force-include": {
717
966
  "char": "I",
718
967
  "dependsOn": [
@@ -732,6 +981,7 @@
732
981
  "pluginName": "@commercelayer/cli-plugin-provisioning",
733
982
  "pluginType": "core",
734
983
  "strict": false,
984
+ "enableJsonFlag": false,
735
985
  "isESM": false,
736
986
  "relativePath": [
737
987
  "lib",
@@ -821,6 +1071,66 @@
821
1071
  "allowNo": false,
822
1072
  "type": "boolean"
823
1073
  },
1074
+ "doc": {
1075
+ "description": "show the CLI command in a specific language",
1076
+ "exclusive": [
1077
+ "raw"
1078
+ ],
1079
+ "helpGroup": "documentation",
1080
+ "name": "doc",
1081
+ "allowNo": false,
1082
+ "type": "boolean"
1083
+ },
1084
+ "lang": {
1085
+ "char": "l",
1086
+ "dependsOn": [
1087
+ "doc"
1088
+ ],
1089
+ "description": "show the CLI command in the specified language syntax",
1090
+ "exclusive": [
1091
+ "curl",
1092
+ "node"
1093
+ ],
1094
+ "helpGroup": "documentation",
1095
+ "name": "lang",
1096
+ "hasDynamicHelp": false,
1097
+ "multiple": false,
1098
+ "options": [
1099
+ "curl",
1100
+ "node"
1101
+ ],
1102
+ "type": "option"
1103
+ },
1104
+ "curl": {
1105
+ "dependsOn": [
1106
+ "doc"
1107
+ ],
1108
+ "description": "show the equivalent cURL command of the CLI command",
1109
+ "exclusive": [
1110
+ "lang",
1111
+ "node"
1112
+ ],
1113
+ "helpGroup": "documentation",
1114
+ "hidden": false,
1115
+ "name": "curl",
1116
+ "allowNo": false,
1117
+ "type": "boolean"
1118
+ },
1119
+ "node": {
1120
+ "dependsOn": [
1121
+ "doc"
1122
+ ],
1123
+ "description": "show the equivalent Node SDK source code of the CLI command",
1124
+ "exclusive": [
1125
+ "lang",
1126
+ "curl"
1127
+ ],
1128
+ "helpGroup": "documentation",
1129
+ "hidden": false,
1130
+ "name": "node",
1131
+ "allowNo": false,
1132
+ "type": "boolean"
1133
+ },
824
1134
  "headers": {
825
1135
  "char": "H",
826
1136
  "dependsOn": [
@@ -911,6 +1221,7 @@
911
1221
  "pluginName": "@commercelayer/cli-plugin-provisioning",
912
1222
  "pluginType": "core",
913
1223
  "strict": true,
1224
+ "enableJsonFlag": false,
914
1225
  "isESM": false,
915
1226
  "relativePath": [
916
1227
  "lib",
@@ -931,6 +1242,7 @@
931
1242
  "pluginName": "@commercelayer/cli-plugin-provisioning",
932
1243
  "pluginType": "core",
933
1244
  "strict": true,
1245
+ "enableJsonFlag": false,
934
1246
  "isESM": false,
935
1247
  "relativePath": [
936
1248
  "lib",
@@ -1029,6 +1341,66 @@
1029
1341
  "allowNo": false,
1030
1342
  "type": "boolean"
1031
1343
  },
1344
+ "doc": {
1345
+ "description": "show the CLI command in a specific language",
1346
+ "exclusive": [
1347
+ "raw"
1348
+ ],
1349
+ "helpGroup": "documentation",
1350
+ "name": "doc",
1351
+ "allowNo": false,
1352
+ "type": "boolean"
1353
+ },
1354
+ "lang": {
1355
+ "char": "l",
1356
+ "dependsOn": [
1357
+ "doc"
1358
+ ],
1359
+ "description": "show the CLI command in the specified language syntax",
1360
+ "exclusive": [
1361
+ "curl",
1362
+ "node"
1363
+ ],
1364
+ "helpGroup": "documentation",
1365
+ "name": "lang",
1366
+ "hasDynamicHelp": false,
1367
+ "multiple": false,
1368
+ "options": [
1369
+ "curl",
1370
+ "node"
1371
+ ],
1372
+ "type": "option"
1373
+ },
1374
+ "curl": {
1375
+ "dependsOn": [
1376
+ "doc"
1377
+ ],
1378
+ "description": "show the equivalent cURL command of the CLI command",
1379
+ "exclusive": [
1380
+ "lang",
1381
+ "node"
1382
+ ],
1383
+ "helpGroup": "documentation",
1384
+ "hidden": false,
1385
+ "name": "curl",
1386
+ "allowNo": false,
1387
+ "type": "boolean"
1388
+ },
1389
+ "node": {
1390
+ "dependsOn": [
1391
+ "doc"
1392
+ ],
1393
+ "description": "show the equivalent Node SDK source code of the CLI command",
1394
+ "exclusive": [
1395
+ "lang",
1396
+ "curl"
1397
+ ],
1398
+ "helpGroup": "documentation",
1399
+ "hidden": false,
1400
+ "name": "node",
1401
+ "allowNo": false,
1402
+ "type": "boolean"
1403
+ },
1032
1404
  "headers": {
1033
1405
  "char": "H",
1034
1406
  "dependsOn": [
@@ -1120,6 +1492,7 @@
1120
1492
  "pluginName": "@commercelayer/cli-plugin-provisioning",
1121
1493
  "pluginType": "core",
1122
1494
  "strict": true,
1495
+ "enableJsonFlag": false,
1123
1496
  "isESM": false,
1124
1497
  "relativePath": [
1125
1498
  "lib",
@@ -1155,6 +1528,7 @@
1155
1528
  "pluginName": "@commercelayer/cli-plugin-provisioning",
1156
1529
  "pluginType": "core",
1157
1530
  "strict": true,
1531
+ "enableJsonFlag": false,
1158
1532
  "isESM": false,
1159
1533
  "relativePath": [
1160
1534
  "lib",
@@ -1249,6 +1623,66 @@
1249
1623
  "allowNo": false,
1250
1624
  "type": "boolean"
1251
1625
  },
1626
+ "doc": {
1627
+ "description": "show the CLI command in a specific language",
1628
+ "exclusive": [
1629
+ "raw"
1630
+ ],
1631
+ "helpGroup": "documentation",
1632
+ "name": "doc",
1633
+ "allowNo": false,
1634
+ "type": "boolean"
1635
+ },
1636
+ "lang": {
1637
+ "char": "l",
1638
+ "dependsOn": [
1639
+ "doc"
1640
+ ],
1641
+ "description": "show the CLI command in the specified language syntax",
1642
+ "exclusive": [
1643
+ "curl",
1644
+ "node"
1645
+ ],
1646
+ "helpGroup": "documentation",
1647
+ "name": "lang",
1648
+ "hasDynamicHelp": false,
1649
+ "multiple": false,
1650
+ "options": [
1651
+ "curl",
1652
+ "node"
1653
+ ],
1654
+ "type": "option"
1655
+ },
1656
+ "curl": {
1657
+ "dependsOn": [
1658
+ "doc"
1659
+ ],
1660
+ "description": "show the equivalent cURL command of the CLI command",
1661
+ "exclusive": [
1662
+ "lang",
1663
+ "node"
1664
+ ],
1665
+ "helpGroup": "documentation",
1666
+ "hidden": false,
1667
+ "name": "curl",
1668
+ "allowNo": false,
1669
+ "type": "boolean"
1670
+ },
1671
+ "node": {
1672
+ "dependsOn": [
1673
+ "doc"
1674
+ ],
1675
+ "description": "show the equivalent Node SDK source code of the CLI command",
1676
+ "exclusive": [
1677
+ "lang",
1678
+ "curl"
1679
+ ],
1680
+ "helpGroup": "documentation",
1681
+ "hidden": false,
1682
+ "name": "node",
1683
+ "allowNo": false,
1684
+ "type": "boolean"
1685
+ },
1252
1686
  "headers": {
1253
1687
  "char": "H",
1254
1688
  "dependsOn": [
@@ -1296,6 +1730,7 @@
1296
1730
  "pluginName": "@commercelayer/cli-plugin-provisioning",
1297
1731
  "pluginType": "core",
1298
1732
  "strict": true,
1733
+ "enableJsonFlag": false,
1299
1734
  "isESM": false,
1300
1735
  "relativePath": [
1301
1736
  "lib",
@@ -1392,6 +1827,66 @@
1392
1827
  "allowNo": false,
1393
1828
  "type": "boolean"
1394
1829
  },
1830
+ "doc": {
1831
+ "description": "show the CLI command in a specific language",
1832
+ "exclusive": [
1833
+ "raw"
1834
+ ],
1835
+ "helpGroup": "documentation",
1836
+ "name": "doc",
1837
+ "allowNo": false,
1838
+ "type": "boolean"
1839
+ },
1840
+ "lang": {
1841
+ "char": "l",
1842
+ "dependsOn": [
1843
+ "doc"
1844
+ ],
1845
+ "description": "show the CLI command in the specified language syntax",
1846
+ "exclusive": [
1847
+ "curl",
1848
+ "node"
1849
+ ],
1850
+ "helpGroup": "documentation",
1851
+ "name": "lang",
1852
+ "hasDynamicHelp": false,
1853
+ "multiple": false,
1854
+ "options": [
1855
+ "curl",
1856
+ "node"
1857
+ ],
1858
+ "type": "option"
1859
+ },
1860
+ "curl": {
1861
+ "dependsOn": [
1862
+ "doc"
1863
+ ],
1864
+ "description": "show the equivalent cURL command of the CLI command",
1865
+ "exclusive": [
1866
+ "lang",
1867
+ "node"
1868
+ ],
1869
+ "helpGroup": "documentation",
1870
+ "hidden": false,
1871
+ "name": "curl",
1872
+ "allowNo": false,
1873
+ "type": "boolean"
1874
+ },
1875
+ "node": {
1876
+ "dependsOn": [
1877
+ "doc"
1878
+ ],
1879
+ "description": "show the equivalent Node SDK source code of the CLI command",
1880
+ "exclusive": [
1881
+ "lang",
1882
+ "curl"
1883
+ ],
1884
+ "helpGroup": "documentation",
1885
+ "hidden": false,
1886
+ "name": "node",
1887
+ "allowNo": false,
1888
+ "type": "boolean"
1889
+ },
1395
1890
  "headers": {
1396
1891
  "char": "H",
1397
1892
  "dependsOn": [
@@ -1489,6 +1984,7 @@
1489
1984
  "pluginName": "@commercelayer/cli-plugin-provisioning",
1490
1985
  "pluginType": "core",
1491
1986
  "strict": true,
1987
+ "enableJsonFlag": false,
1492
1988
  "isESM": false,
1493
1989
  "relativePath": [
1494
1990
  "lib",
@@ -1498,5 +1994,5 @@
1498
1994
  ]
1499
1995
  }
1500
1996
  },
1501
- "version": "1.0.1"
1997
+ "version": "2.0.0-oclif3.10"
1502
1998
  }