Skip to content

Commit 8c03a8a

Browse files
author
Aamod Pisat
committed
Merge branch 'release/1.0.5'
2 parents 669fd1a + 9c9c261 commit 8c03a8a

File tree

10 files changed

+617
-816
lines changed

10 files changed

+617
-816
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
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.**
6+
7+
**Note: Built.io Contentstack CLI version 1.x can be used only for contentstack-express version 1.x.**
78

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

1011
```bash
11-
$ npm install -g contentstack-cli
12+
$ npm install -g contentstack-cli@1.x
1213
```
1314
*You might need administrator privileges to perform this installation.*
1415

@@ -28,10 +29,8 @@ Built.io Contentstack CLI comes with handy commands which helps to achieve the s
2829
****
2930
***
3031
**
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.
3332
34-
Built.io Contentstack Command Line Interface 3.0.0
33+
Built.io Contentstack Command Line Interface 1.0.5
3534
3635
Usage: contentstack [command]
3736
@@ -93,7 +92,7 @@ Once the plugin is created, you can activate it in config/all.js file.
9392

9493
## Links
9594
- [Website](https://www.built.io/products/contentstack/overview)
96-
- [Official Documentation](https://contentstackdocs.built.io/developer/web/framework-cli)
95+
- [Official Documentation](http://contentstackdocs.built.io/developer/javascript/quickstart)
9796

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

bin/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ 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');
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');
7878

7979
program
8080
.version(pkg.version || "0.1.x");
@@ -130,7 +130,6 @@ program
130130
program
131131
.command('sync')
132132
.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)
134133
.option('-l, --lang [language]', 'Enter the language of which the content needs to be synchronized', undefined)
135134
.option('-c, --content_types [content_types]', 'Enter the content types to be included in synchronization (comma(",") seperated)', list, undefined)
136135
.option('-s, --skip_content_types [skip_content_types]', 'Enter the content types to be excluded from synchronization (comma(",") seperated)', list, undefined)
@@ -236,7 +235,7 @@ if (program.args.length == 0) {
236235
, '\nOptions:'
237236
, ' -h, --help output usage information'
238237
, ' -V, --version output the version number'
239-
, '\nDocumentation can be found at https://contentstackdocs.built.io/'
238+
, '\nDocumentation can be found at http://contentstackdocs.built.io/'
240239
].join('\n');
241240
console.log(message);
242241
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)