@contentstack/cli 1.2.2 → 1.2.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 +19 -41
- package/oclif.manifest.json +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli
|
|
|
18
18
|
$ csdx COMMAND
|
|
19
19
|
running command...
|
|
20
20
|
$ csdx (-v|--version|version)
|
|
21
|
-
@contentstack/cli/1.2.
|
|
21
|
+
@contentstack/cli/1.2.3 darwin-x64 node-v18.12.1
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -273,13 +273,12 @@ FLAGS
|
|
|
273
273
|
|
|
274
274
|
DESCRIPTION
|
|
275
275
|
Publish assets to the specified environments
|
|
276
|
-
|
|
277
276
|
The assets command is used to publish assets from the specified stack, to the specified environments
|
|
278
277
|
|
|
279
278
|
Note: Environment(s) and Locale(s) are required to execute the command successfully
|
|
280
|
-
|
|
281
279
|
But, if retryFailed flag is set, then only a logfile is required
|
|
282
280
|
|
|
281
|
+
|
|
283
282
|
ALIASES
|
|
284
283
|
$ csdx cm:bulk-publish:assets
|
|
285
284
|
|
|
@@ -343,11 +342,9 @@ FLAGS
|
|
|
343
342
|
|
|
344
343
|
DESCRIPTION
|
|
345
344
|
Unpublish assets from given environment
|
|
346
|
-
|
|
347
345
|
The unpublish command is used for unpublishing assets from the given environment
|
|
348
346
|
|
|
349
347
|
Note: Environment (Source Environment) and Locale are required to execute the command successfully
|
|
350
|
-
|
|
351
348
|
But, if retry-failed flag is set, then only a logfile is required
|
|
352
349
|
|
|
353
350
|
EXAMPLES
|
|
@@ -460,14 +457,13 @@ FLAGS
|
|
|
460
457
|
|
|
461
458
|
DESCRIPTION
|
|
462
459
|
Publish entries and assets from one environment to other environments
|
|
463
|
-
|
|
464
460
|
The cross-publish command is used to publish entries and assets from one environment to other environments
|
|
465
461
|
|
|
466
462
|
Note: Content Type, Environment, Destination Environment(s) and Locale are required to execute the command
|
|
467
463
|
successfully
|
|
468
|
-
|
|
469
464
|
But, if retryFailed flag is set, then only a logfile is required
|
|
470
465
|
|
|
466
|
+
|
|
471
467
|
EXAMPLES
|
|
472
468
|
General Usage
|
|
473
469
|
|
|
@@ -589,15 +585,13 @@ FLAGS
|
|
|
589
585
|
|
|
590
586
|
DESCRIPTION
|
|
591
587
|
Publish entries from multiple contenttypes to multiple environments and locales
|
|
592
|
-
|
|
593
588
|
The publish command is used to publish entries from the specified content types, to the
|
|
594
|
-
|
|
595
589
|
specified environments and locales
|
|
596
590
|
|
|
597
591
|
Note: Content Types, Environments and Locales are required to execute the command successfully
|
|
598
|
-
|
|
599
592
|
But, if retry-failed flag is set, then only a logfile is required
|
|
600
593
|
|
|
594
|
+
|
|
601
595
|
ALIASES
|
|
602
596
|
$ csdx cm:bulk-publish:entries
|
|
603
597
|
|
|
@@ -664,16 +658,14 @@ FLAGS
|
|
|
664
658
|
|
|
665
659
|
DESCRIPTION
|
|
666
660
|
Publish edited entries from a specified content type to the given locales and environments
|
|
667
|
-
|
|
668
661
|
The publish-modified command is used to publish entries from the specified content types, to the
|
|
669
|
-
|
|
670
662
|
specified environments and locales
|
|
671
663
|
|
|
672
664
|
Note: Content type(s), Source Environment, Destination Environment(s) and Locale(s) are required to execute the
|
|
673
665
|
command successfully
|
|
674
|
-
|
|
675
666
|
But, if retry-failed flag is set, then only a logfile is required
|
|
676
667
|
|
|
668
|
+
|
|
677
669
|
ALIASES
|
|
678
670
|
$ csdx cm:bulk-publish:entry-edits
|
|
679
671
|
|
|
@@ -734,12 +726,10 @@ FLAGS
|
|
|
734
726
|
DESCRIPTION
|
|
735
727
|
Publish non-localized fields for the given content types, from a particular source environment to the specified
|
|
736
728
|
environments
|
|
737
|
-
|
|
738
729
|
The non-localized field changes command is used to publish non-localized field changes from the given content types to
|
|
739
730
|
the specified environments
|
|
740
731
|
|
|
741
732
|
Note: Content types, Environments and Source Environment are required to execute this command successfully.
|
|
742
|
-
|
|
743
733
|
But, if retryFailed flag is set, then only a logfile is required
|
|
744
734
|
|
|
745
735
|
ALIASES
|
|
@@ -801,15 +791,14 @@ FLAGS
|
|
|
801
791
|
|
|
802
792
|
DESCRIPTION
|
|
803
793
|
Publish unpublished entries from the source environment, to other environments and locales
|
|
804
|
-
|
|
805
794
|
The publish-only-unpublished command is used to publish unpublished entries from the source environment, to other
|
|
806
795
|
environments and locales
|
|
807
796
|
|
|
808
797
|
Note: Content type(s), Source Environment, Destination Environment(s) and Source Locale are required to execute the
|
|
809
798
|
command successfully
|
|
810
|
-
|
|
811
799
|
But, if retry-failed flag is set, then only a logfile is required
|
|
812
800
|
|
|
801
|
+
|
|
813
802
|
ALIASES
|
|
814
803
|
$ csdx cm:bulk-publish:unpublished-entries
|
|
815
804
|
|
|
@@ -868,11 +857,9 @@ FLAGS
|
|
|
868
857
|
|
|
869
858
|
DESCRIPTION
|
|
870
859
|
Unpublish entries from the given environment
|
|
871
|
-
|
|
872
860
|
The unpublish command is used to unpublish entries from the given environment
|
|
873
861
|
|
|
874
862
|
Note: Environment (Source Environment) and Locale are required to execute the command successfully
|
|
875
|
-
|
|
876
863
|
But, if retry-failed flag is set, then only a logfile is required
|
|
877
864
|
|
|
878
865
|
EXAMPLES
|
|
@@ -933,14 +920,13 @@ FLAGS
|
|
|
933
920
|
|
|
934
921
|
DESCRIPTION
|
|
935
922
|
Add fields from updated content types to their respective entries
|
|
936
|
-
|
|
937
923
|
The update-and-publish command is used to update existing entries with the updated schema of the respective content
|
|
938
924
|
type
|
|
939
925
|
|
|
940
926
|
Note: Content types, Environments and Locales are required to execute the command successfully
|
|
941
|
-
|
|
942
927
|
But, if retry-failed flag is set, then only a logfile is required
|
|
943
928
|
|
|
929
|
+
|
|
944
930
|
ALIASES
|
|
945
931
|
$ csdx cm:bulk-publish:add-fields
|
|
946
932
|
|
|
@@ -1055,9 +1041,9 @@ FLAGS
|
|
|
1055
1041
|
|
|
1056
1042
|
DESCRIPTION
|
|
1057
1043
|
Clone data (structure/content or both) of a stack into another stack
|
|
1058
|
-
|
|
1059
1044
|
Use this plugin to automate the process of cloning a stack in few steps.
|
|
1060
1045
|
|
|
1046
|
+
|
|
1061
1047
|
ALIASES
|
|
1062
1048
|
$ csdx cm:stack-clone
|
|
1063
1049
|
|
|
@@ -1143,12 +1129,11 @@ FLAGS
|
|
|
1143
1129
|
|
|
1144
1130
|
DESCRIPTION
|
|
1145
1131
|
Import script for importing the content into the new stack
|
|
1146
|
-
|
|
1147
1132
|
...
|
|
1148
|
-
|
|
1149
1133
|
Once you export content from the source stack, import it to your destination stack by using the cm:stacks:import
|
|
1150
1134
|
command.
|
|
1151
1135
|
|
|
1136
|
+
|
|
1152
1137
|
ALIASES
|
|
1153
1138
|
$ csdx cm:import
|
|
1154
1139
|
|
|
@@ -1223,13 +1208,10 @@ USAGE
|
|
|
1223
1208
|
|
|
1224
1209
|
DESCRIPTION
|
|
1225
1210
|
Publish entries and assets to multiple environments and locales
|
|
1226
|
-
|
|
1227
1211
|
The publish command is used to publish entries and assets, to the specified environments and locales.
|
|
1228
1212
|
|
|
1229
1213
|
Note: Content types, Environments and Locales are required to execute the publish entries command successfully.
|
|
1230
|
-
|
|
1231
1214
|
Note: Environments and Locales are required to execute the publish assets command successfully.
|
|
1232
|
-
|
|
1233
1215
|
But, if retry-failed flag is set, then only a logfile is required
|
|
1234
1216
|
|
|
1235
1217
|
EXAMPLES
|
|
@@ -1333,11 +1315,10 @@ FLAGS
|
|
|
1333
1315
|
|
|
1334
1316
|
DESCRIPTION
|
|
1335
1317
|
Revert publish operations by using a log file
|
|
1336
|
-
|
|
1337
1318
|
The revert command is used to revert all publish operations performed using bulk-publish script.
|
|
1338
|
-
|
|
1339
1319
|
A log file name is required to execute revert command
|
|
1340
1320
|
|
|
1321
|
+
|
|
1341
1322
|
ALIASES
|
|
1342
1323
|
$ csdx cm:bulk-publish:revert
|
|
1343
1324
|
|
|
@@ -1416,22 +1397,19 @@ FLAGS
|
|
|
1416
1397
|
|
|
1417
1398
|
DESCRIPTION
|
|
1418
1399
|
Unpublish entries or assets of given content types from the specified environment
|
|
1419
|
-
|
|
1420
1400
|
The unpublish command is used to unpublish entries or assets from given environment
|
|
1421
1401
|
|
|
1422
1402
|
Environment (Source Environment) and Locale are required to execute the command successfully
|
|
1423
|
-
|
|
1424
1403
|
But, if retry-failed flag is set, then only a logfile is required
|
|
1425
1404
|
|
|
1426
1405
|
A content type can be specified for unpublishing entries, but if no content-type(s) is/are specified and --only-assets
|
|
1427
1406
|
is not used,
|
|
1428
|
-
|
|
1429
1407
|
then all entries from all content types will be unpublished from the source environment
|
|
1430
1408
|
|
|
1431
1409
|
Note: --only-assets can be used to unpublish only assets and --only-entries can be used to unpublish only entries.
|
|
1432
|
-
|
|
1433
1410
|
(--only-assets and --only-entries cannot be used together at the same time)
|
|
1434
1411
|
|
|
1412
|
+
|
|
1435
1413
|
ALIASES
|
|
1436
1414
|
$ csdx cm:bulk-publish:unpublish
|
|
1437
1415
|
|
|
@@ -1550,7 +1528,7 @@ EXAMPLES
|
|
|
1550
1528
|
$ csdx plugins
|
|
1551
1529
|
```
|
|
1552
1530
|
|
|
1553
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.
|
|
1531
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.7/src/commands/plugins/index.ts)_
|
|
1554
1532
|
|
|
1555
1533
|
## `csdx plugins:inspect PLUGIN...`
|
|
1556
1534
|
|
|
@@ -1574,7 +1552,7 @@ EXAMPLES
|
|
|
1574
1552
|
$ csdx plugins:inspect myplugin
|
|
1575
1553
|
```
|
|
1576
1554
|
|
|
1577
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.
|
|
1555
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.7/src/commands/plugins/inspect.ts)_
|
|
1578
1556
|
|
|
1579
1557
|
## `csdx plugins:install PLUGIN...`
|
|
1580
1558
|
|
|
@@ -1594,7 +1572,6 @@ FLAGS
|
|
|
1594
1572
|
|
|
1595
1573
|
DESCRIPTION
|
|
1596
1574
|
Installs a plugin into the CLI.
|
|
1597
|
-
|
|
1598
1575
|
Can be installed from npm or a git url.
|
|
1599
1576
|
|
|
1600
1577
|
Installation of a user-installed plugin will override a core plugin.
|
|
@@ -1603,6 +1580,7 @@ DESCRIPTION
|
|
|
1603
1580
|
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
|
|
1604
1581
|
the CLI without the need to patch and update the whole CLI.
|
|
1605
1582
|
|
|
1583
|
+
|
|
1606
1584
|
ALIASES
|
|
1607
1585
|
$ csdx plugins:add
|
|
1608
1586
|
|
|
@@ -1614,7 +1592,7 @@ EXAMPLES
|
|
|
1614
1592
|
$ csdx plugins:install someuser/someplugin
|
|
1615
1593
|
```
|
|
1616
1594
|
|
|
1617
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.
|
|
1595
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.7/src/commands/plugins/install.ts)_
|
|
1618
1596
|
|
|
1619
1597
|
## `csdx plugins:link PLUGIN`
|
|
1620
1598
|
|
|
@@ -1633,17 +1611,17 @@ FLAGS
|
|
|
1633
1611
|
|
|
1634
1612
|
DESCRIPTION
|
|
1635
1613
|
Links a plugin into the CLI for development.
|
|
1636
|
-
|
|
1637
1614
|
Installation of a linked plugin will override a user-installed or core plugin.
|
|
1638
1615
|
|
|
1639
1616
|
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
|
|
1640
1617
|
command will override the user-installed or core plugin implementation. This is useful for development work.
|
|
1641
1618
|
|
|
1619
|
+
|
|
1642
1620
|
EXAMPLES
|
|
1643
1621
|
$ csdx plugins:link myplugin
|
|
1644
1622
|
```
|
|
1645
1623
|
|
|
1646
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.
|
|
1624
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.7/src/commands/plugins/link.ts)_
|
|
1647
1625
|
|
|
1648
1626
|
## `csdx plugins:uninstall PLUGIN...`
|
|
1649
1627
|
|
|
@@ -1668,7 +1646,7 @@ ALIASES
|
|
|
1668
1646
|
$ csdx plugins:remove
|
|
1669
1647
|
```
|
|
1670
1648
|
|
|
1671
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.
|
|
1649
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.7/src/commands/plugins/uninstall.ts)_
|
|
1672
1650
|
|
|
1673
1651
|
## `csdx plugins:update`
|
|
1674
1652
|
|
|
@@ -1686,7 +1664,7 @@ DESCRIPTION
|
|
|
1686
1664
|
Update installed plugins.
|
|
1687
1665
|
```
|
|
1688
1666
|
|
|
1689
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.
|
|
1667
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.7/src/commands/plugins/update.ts)_
|
|
1690
1668
|
<!-- commandsstop -->
|
|
1691
1669
|
|
|
1692
1670
|
```
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.2.
|
|
1
|
+
{"version":"1.2.3","commands":{}}
|
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.2.
|
|
4
|
+
"version": "1.2.3",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bin": {
|
|
7
7
|
"csdx": "./bin/run"
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@contentstack/cli-auth": "^1.0.3",
|
|
25
|
-
"@contentstack/cli-cm-bootstrap": "^1.1.
|
|
25
|
+
"@contentstack/cli-cm-bootstrap": "^1.1.4",
|
|
26
26
|
"@contentstack/cli-cm-bulk-publish": "^1.0.2",
|
|
27
|
-
"@contentstack/cli-cm-clone": "^1.1.
|
|
27
|
+
"@contentstack/cli-cm-clone": "^1.1.4",
|
|
28
28
|
"@contentstack/cli-cm-export": "^1.2.1",
|
|
29
29
|
"@contentstack/cli-cm-export-to-csv": "^1.0.2",
|
|
30
|
-
"@contentstack/cli-cm-import": "^1.2.
|
|
30
|
+
"@contentstack/cli-cm-import": "^1.2.2",
|
|
31
31
|
"@contentstack/cli-cm-migrate-rte": "^1.1.3",
|
|
32
|
-
"@contentstack/cli-cm-seed": "^1.1.
|
|
32
|
+
"@contentstack/cli-cm-seed": "^1.1.4",
|
|
33
33
|
"@contentstack/cli-command": "^1.0.2",
|
|
34
34
|
"@contentstack/cli-config": "^1.0.2",
|
|
35
35
|
"@contentstack/cli-migration": "^1.0.2",
|