You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/index.js
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ function optionConversion(options) {
74
74
}
75
75
// printing the Built.io Contentstack Animation
76
76
console.log('\n'+messages+'\x1b[0m\n');
77
-
console.log('\x1b[31m Note: Built.io Contentstack CLI version 1.x can be used only for contentstack-express version 1.x.\x1b[0m\n');
77
+
console.log('\x1b[31m Note: This version of Built.io Contentstack CLI can be used only for V3 stacks. Use CLI version 1.x, for V2 stacks.\x1b[0m\n');
78
78
79
79
program
80
80
.version(pkg.version||"0.1.x");
@@ -130,6 +130,7 @@ program
130
130
program
131
131
.command('sync')
132
132
.option('-e, --env <environment>','Enter the environment of which the content needs to be synchronized',undefined)
133
+
.option('-t, --type [type]','Enter a type of content to include in publishing [content_types/assets/all]',/(content_types|assets|all)/,undefined)
133
134
.option('-l, --lang [language]','Enter the language of which the content needs to be synchronized',undefined)
134
135
.option('-c, --content_types [content_types]','Enter the content types to be included in synchronization (comma(",") seperated)',list,undefined)
135
136
.option('-s, --skip_content_types [skip_content_types]','Enter the content types to be excluded from synchronization (comma(",") seperated)',list,undefined)
@@ -235,7 +236,7 @@ if (program.args.length == 0) {
235
236
,'\nOptions:'
236
237
,' -h, --help output usage information'
237
238
,' -V, --version output the version number'
238
-
,'\nDocumentation can be found at http://contentstackdocs.built.io/'
239
+
,'\nDocumentation can be found at https://contentstackdocs.built.io/'
0 commit comments