Skip to content

Commit 2a79d57

Browse files
author
Aamod Pisat
committed
Remove 'publish_details' deprecated query for entry from 1.0.x
1 parent 669fd1a commit 2a79d57

File tree

10 files changed

+601
-846
lines changed

10 files changed

+601
-846
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# Built.io Contentstack Command Line Interface(CLI).
44

55
## Installation
6-
**Note: This version of Built.io Contentstack CLI can be used only for V3 stacks. Use CLI version 1.x, for V2 stacks.**
76

87
Run the following command in a Terminal or Command Prompt to globally install the latest version of Built.io Contentstack CLI on your system:
98

@@ -28,10 +27,8 @@ Built.io Contentstack CLI comes with handy commands which helps to achieve the s
2827
****
2928
***
3029
**
31-
32-
Note: This version of Built.io Contentstack CLI can be used only for V3 stacks. Use CLI version 1.x, for V2 stacks.
3330
34-
Built.io Contentstack Command Line Interface 3.0.0
31+
Built.io Contentstack Command Line Interface 1.0.2
3532
3633
Usage: contentstack [command]
3734
@@ -93,7 +90,7 @@ Once the plugin is created, you can activate it in config/all.js file.
9390

9491
## Links
9592
- [Website](https://www.built.io/products/contentstack/overview)
96-
- [Official Documentation](https://contentstackdocs.built.io/developer/web/framework-cli)
93+
- [Official Documentation](http://contentstackdocs.built.io/developer/javascript/quickstart)
9794

9895
### License
99-
Copyright © 2012-2017 [Built.io](https://www.built.io/). All Rights Reserved.
96+
Copyright © 2012-2016 [Built.io](https://www.built.io/). All Rights Reserved.

bin/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ function optionConversion(options) {
7474
}
7575
// printing the Built.io Contentstack Animation
7676
console.log('\n'+messages+'\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');
7877

7978
program
8079
.version(pkg.version || "0.1.x");
@@ -130,7 +129,6 @@ program
130129
program
131130
.command('sync')
132131
.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)
134132
.option('-l, --lang [language]', 'Enter the language of which the content needs to be synchronized', undefined)
135133
.option('-c, --content_types [content_types]', 'Enter the content types to be included in synchronization (comma(",") seperated)', list, undefined)
136134
.option('-s, --skip_content_types [skip_content_types]', 'Enter the content types to be excluded from synchronization (comma(",") seperated)', list, undefined)
@@ -236,7 +234,7 @@ if (program.args.length == 0) {
236234
, '\nOptions:'
237235
, ' -h, --help output usage information'
238236
, ' -V, --version output the version number'
239-
, '\nDocumentation can be found at https://contentstackdocs.built.io/'
237+
, '\nDocumentation can be found at http://contentstackdocs.built.io/'
240238
].join('\n');
241239
console.log(message);
242240
process.exit(1);

lib/config/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module.exports = exports = {
5959
}
6060
},
6161
contentstack: {
62-
host: "https://api.contentstack.io/v3",
62+
host: "https://api.contentstack.io",
6363
socket: "https://contentstack-realtime.built.io/",
6464
urls: {
6565
stacks: "/stacks/",

0 commit comments

Comments
 (0)