@contentstack/cli 1.7.2 → 1.7.3

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 CHANGED
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli
18
18
  $ csdx COMMAND
19
19
  running command...
20
20
  $ csdx (--version|-v)
21
- @contentstack/cli/1.7.2 linux-x64 node-v16.20.0
21
+ @contentstack/cli/1.7.3 linux-x64 node-v16.20.0
22
22
  $ csdx --help [COMMAND]
23
23
  USAGE
24
24
  $ csdx COMMAND
@@ -303,6 +303,7 @@ FLAGS
303
303
  -e, --environments=<value>... Environments where assets will be published
304
304
  -l, --locales=<value>... Locales to where assets will be published
305
305
  -y, --yes Agree to process the command with the current configuration
306
+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
306
307
  --bulk-publish=<value> [default: true] By default this flag is set as true. It indicates that contentstack's
307
308
  bulkpublish API will be used to publish the assets
308
309
  --delivery-token=<value> Delivery token for source environment
@@ -365,13 +366,14 @@ Unpublish assets from given environment
365
366
  ```
366
367
  USAGE
367
368
  $ csdx cm:assets:unpublish [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>] [--branch <value>]
368
- [--retry-failed <value>] [--bulk-unpublish <value>] [--delivery-token <value>]
369
+ [--retry-failed <value>] [--bulk-unpublish <value>] [--api-version <value>] [--delivery-token <value>]
369
370
 
370
371
  FLAGS
371
372
  -a, --alias=<value> Alias(name) for the management token
372
373
  -c, --config=<value> Path to the config file
373
374
  -e, --environment=<value> Source Environment
374
375
  -y, --yes Agree to process the command with the current configuration
376
+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
375
377
  --branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch is
376
378
  selected)
377
379
  --bulk-unpublish=<value> [default: true] By default this flag is set as true. It indicates that contentstack's
@@ -654,6 +656,7 @@ FLAGS
654
656
  -l, --locales=<value>... Locales where entries will be published
655
657
  -t, --contentTypes=<value>... The Contenttypes from which entries will be published
656
658
  -y, --yes Agree to process the command with the current configuration
659
+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
657
660
  --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
658
661
  bulkpublish API will be used to publish the entries
659
662
  --content-types=<value>... The Contenttypes from which entries will be published
@@ -717,6 +720,7 @@ FLAGS
717
720
  -e, --environments=<value>... Environments where assets will be published
718
721
  -l, --locales=<value>... Locales to where assets will be published
719
722
  -y, --yes Agree to process the command with the current configuration
723
+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
720
724
  --bulk-publish=<value> [default: true] By default this flag is set as true. It indicates that contentstack's
721
725
  bulkpublish API will be used to publish the assets
722
726
  --delivery-token=<value> Delivery token for source environment
@@ -839,6 +843,7 @@ FLAGS
839
843
  -a, --alias=<value> Alias(name) for the management token
840
844
  -c, --config=<value> Path to the config file
841
845
  -y, --yes Agree to process the command with the current configuration
846
+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
842
847
  --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
843
848
  bulkpublish API will be used to publish the entries
844
849
  --content-type=<value>... The Contenttypes from which entries will be published
@@ -911,6 +916,7 @@ FLAGS
911
916
  -e, --environments=<value>... Environments where entries will be published
912
917
  -l, --locales=<value>... Locales where entries will be published
913
918
  -y, --yes Agree to process the command with the current configuration
919
+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
914
920
  --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
915
921
  bulkpublish API will be used to publish the entries
916
922
  --content-types=<value>... The Contenttypes from which entries need to be published
@@ -986,6 +992,7 @@ FLAGS
986
992
  -e, --environments=<value>... Destination environments
987
993
  -l, --locales=<value>... Locales where edited entries will be published
988
994
  -y, --yes Agree to process the command with the current configuration
995
+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
989
996
  --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
990
997
  bulkpublish API will be used to publish the entries
991
998
  --content-types=<value>... The Contenttypes which will be checked for edited entries
@@ -1051,6 +1058,7 @@ FLAGS
1051
1058
  -c, --config=<value> Path to the config file
1052
1059
  -e, --environments=<value>... Destination environments
1053
1060
  -y, --yes Agree to process the command with the current configuration
1061
+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
1054
1062
  --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
1055
1063
  bulkpublish API will be used to publish the entries
1056
1064
  --content-types=<value>... The Contenttypes from which entries will be published
@@ -1147,6 +1155,7 @@ FLAGS
1147
1155
  -e, --environment=<value> Source Environment
1148
1156
  -l, --locale=<value> Locale filter
1149
1157
  -y, --yes Agree to process the command with the current configuration
1158
+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
1150
1159
  --bulk-unpublish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
1151
1160
  bulkpublish API will be used to unpublish the entries and assets
1152
1161
  --content-type=<value> Content type filter
@@ -1238,6 +1247,7 @@ FLAGS
1238
1247
  -c, --config=<value> Path to the config file
1239
1248
  -e, --environments=<value>... Destination environments
1240
1249
  -y, --yes Agree to process the command with the current configuration
1250
+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
1241
1251
  --content-types=<value>... The Contenttypes from which entries will be published
1242
1252
  --locales=<value> Source locale
1243
1253
  --retry-failed=<value> Retry publishing failed entries from the logfile
@@ -1361,6 +1371,7 @@ FLAGS
1361
1371
  -e, --environments=<value>... Environments where entries will be published
1362
1372
  -l, --locales=<value>... Locales where entries will be published
1363
1373
  -y, --yes Agree to process the command with the current configuration
1374
+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
1364
1375
  --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
1365
1376
  bulkpublish API will be used to publish the entries
1366
1377
  --content-types=<value>... The Contenttypes from which entries need to be published
@@ -1438,6 +1449,7 @@ FLAGS
1438
1449
  -e, --environments=<value>... Destination environments
1439
1450
  -l, --locales=<value>... Locales where edited entries will be published
1440
1451
  -y, --yes Agree to process the command with the current configuration
1452
+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
1441
1453
  --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
1442
1454
  bulkpublish API will be used to publish the entries
1443
1455
  --content-types=<value>... The Contenttypes which will be checked for edited entries
@@ -1505,6 +1517,7 @@ FLAGS
1505
1517
  -c, --config=<value> Path to the config file
1506
1518
  -e, --environments=<value>... Destination environments
1507
1519
  -y, --yes Agree to process the command with the current configuration
1520
+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
1508
1521
  --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
1509
1522
  bulkpublish API will be used to publish the entries
1510
1523
  --content-types=<value>... The Contenttypes from which entries will be published
@@ -1572,6 +1585,7 @@ FLAGS
1572
1585
  -c, --config=<value> Path to the config file
1573
1586
  -e, --environments=<value>... Destination environments
1574
1587
  -y, --yes Agree to process the command with the current configuration
1588
+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
1575
1589
  --content-types=<value>... The Contenttypes from which entries will be published
1576
1590
  --locales=<value> Source locale
1577
1591
  --retry-failed=<value> Retry publishing failed entries from the logfile
@@ -1627,13 +1641,15 @@ Unpublish entries from the given environment
1627
1641
  ```
1628
1642
  USAGE
1629
1643
  $ csdx cm:entries:unpublish [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>] [--branch <value>]
1630
- [--retry-failed <value>] [--bulk-unpublish <value>] [--content-type <value>] [--delivery-token <value>]
1644
+ [--retry-failed <value>] [--bulk-unpublish <value>] [--api-version <value>] [--content-type <value>]
1645
+ [--delivery-token <value>]
1631
1646
 
1632
1647
  FLAGS
1633
1648
  -a, --alias=<value> Alias(name) for the management token
1634
1649
  -c, --config=<value> Path to the config file
1635
1650
  -e, --environment=<value> Source Environment
1636
1651
  -y, --yes Agree to process the command with the current configuration
1652
+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
1637
1653
  --branch=<value> [default: main] Specify the branch to fetch the content (by default the main branch is
1638
1654
  selected)
1639
1655
  --bulk-unpublish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
@@ -1700,6 +1716,7 @@ FLAGS
1700
1716
  -l, --locales=<value>... Locales where entries will be published
1701
1717
  -t, --contentTypes=<value>... The Contenttypes from which entries will be published
1702
1718
  -y, --yes Agree to process the command with the current configuration
1719
+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
1703
1720
  --bulk-publish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
1704
1721
  bulkpublish API will be used to publish the entries
1705
1722
  --content-types=<value>... The Contenttypes from which entries will be published
@@ -2298,6 +2315,12 @@ EXAMPLES
2298
2315
  Using --branch flag
2299
2316
 
2300
2317
  $ csdx cm:stacks:publish --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --branch [BRANCH NAME]
2318
+
2319
+
2320
+
2321
+ Using --api-version flag
2322
+
2323
+ $ csdx cm:stacks:publish --environments [ENVIRONMENT 1] [ENVIRONMENT 2] --locales [LOCALE] --alias [MANAGEMENT TOKEN ALIAS] --api-version [API VERSION]
2301
2324
  ```
2302
2325
 
2303
2326
  _See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/stacks/publish.js)_
@@ -2447,6 +2470,7 @@ FLAGS
2447
2470
  -e, --environment=<value> Source Environment
2448
2471
  -l, --locale=<value> Locale filter
2449
2472
  -y, --yes Agree to process the command with the current configuration
2473
+ --api-version=<value> API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].
2450
2474
  --bulk-unpublish=<value> [default: true] This flag is set to true by default. It indicates that contentstack's
2451
2475
  bulkpublish API will be used to unpublish the entries and assets
2452
2476
  --content-type=<value> Content type filter
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "1.7.2",
2
+ "version": "1.7.3",
3
3
  "commands": {}
4
4
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contentstack/cli",
3
3
  "description": "Command-line tool (CLI) to interact with Contentstack",
4
- "version": "1.7.2",
4
+ "version": "1.7.3",
5
5
  "author": "Contentstack",
6
6
  "bin": {
7
7
  "csdx": "./bin/run"
@@ -21,22 +21,22 @@
21
21
  "prepack": "pnpm compile && oclif manifest && oclif readme"
22
22
  },
23
23
  "dependencies": {
24
- "@contentstack/cli-auth": "^1.3.4",
25
- "@contentstack/cli-cm-bootstrap": "^1.4.4",
26
- "@contentstack/cli-cm-bulk-publish": "^1.3.3",
27
- "@contentstack/cli-cm-clone": "^1.4.4",
28
- "@contentstack/cli-cm-export": "^1.5.4",
29
- "@contentstack/cli-cm-export-to-csv": "^1.3.4",
30
- "@contentstack/cli-cm-import": "^1.5.4",
31
- "@contentstack/cli-cm-migrate-rte": "^1.4.3",
32
- "@contentstack/cli-cm-seed": "^1.4.4",
33
- "@contentstack/cli-command": "^1.2.4",
34
- "@contentstack/cli-config": "^1.4.2",
35
- "@contentstack/cli-launch": "^1.0.1",
36
- "@contentstack/cli-migration": "^1.3.3",
24
+ "@contentstack/cli-auth": "^1.3.5",
25
+ "@contentstack/cli-cm-bootstrap": "^1.4.5",
26
+ "@contentstack/cli-cm-bulk-publish": "^1.3.4",
27
+ "@contentstack/cli-cm-clone": "^1.4.5",
28
+ "@contentstack/cli-cm-export": "^1.5.5",
29
+ "@contentstack/cli-cm-export-to-csv": "^1.3.5",
30
+ "@contentstack/cli-cm-import": "^1.5.5",
31
+ "@contentstack/cli-cm-migrate-rte": "^1.4.4",
32
+ "@contentstack/cli-cm-seed": "^1.4.5",
33
+ "@contentstack/cli-command": "^1.2.5",
34
+ "@contentstack/cli-config": "^1.4.3",
35
+ "@contentstack/cli-launch": "^1.0.2",
36
+ "@contentstack/cli-migration": "^1.3.4",
37
37
  "@contentstack/cli-utilities": "^1.4.1",
38
38
  "@contentstack/management": "^1.8.0",
39
- "@contentstack/cli-cm-branches": "^1.0.1",
39
+ "@contentstack/cli-cm-branches": "^1.0.2",
40
40
  "@oclif/plugin-help": "^5",
41
41
  "@oclif/plugin-not-found": "^2.3.9",
42
42
  "@oclif/plugin-plugins": "^2.1.7",