Skip to content

Commit b83f32c

Browse files
committed
cli ratelimit and maintainence 6 + removed experimental
1 parent fe16df9 commit b83f32c

File tree

7 files changed

+17
-1787
lines changed

7 files changed

+17
-1787
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock.json

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ $ npm install -g contentstack-cli
1717

1818
Contentstack CLI comes with handy commands which helps to achieve the support work for the contentstack-express like publishing, unpublishing, synchronizing the data, connecting existing stacks etc.
1919

20-
```
20+
```bash
2121

2222
**
2323
***
2424
****
25-
***** **
26-
**** *** Contentstack!
27-
*** ****
25+
***** **
26+
**** *** Contentstack!
27+
*** ****
2828
** *****
2929
****
3030
***
3131
**
32-
32+
3333
Note: This version of Contentstack CLI can be used only for V3 stacks. Use CLI version 1.x, for V2 stacks.
3434

3535
Contentstack Command Line Interface 3.0.0

bin/index.js

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -154,35 +154,6 @@ program
154154
});
155155
});
156156

157-
program
158-
.command('bulk-sync')
159-
.option('-e, --env <environment>', 'Enter the environment of which the content needs to be synchronized', undefined)
160-
.option('-t, --type [type]', 'Enter a type of content to include in publishing [content_types/assets/all]', /(content_types|assets|all)/, undefined)
161-
.option('-l, --lang [language]', 'Enter the language of which the content needs to be synchronized', undefined)
162-
.option('-c, --content_types [content_types]', 'Enter the content types to be included in synchronization (comma(\',\') seperated)', list, undefined)
163-
.option('-s, --skip_content_types [skip_content_types]', 'Enter the content types to be excluded from synchronization (comma(\',\') seperated)', list, undefined)
164-
.option('-d, --datetime [datetime]', 'Enter start date in ISO String format. Content published after this date will be synchronized (skip for all content)', undefined)
165-
.option('-b, --backup [backup]', 'Enter backup option', /(yes|no|y|n)/i, undefined)
166-
.description('Synchronize the previously published entries in the current application')
167-
.action(function(options) {
168-
setImmediate(function() {
169-
var context = domain.create();
170-
// error handling in domain
171-
context.on('error', errorHandler);
172-
// running the synchronization in domain
173-
context.run(function() {
174-
var _options = optionConversion(options);
175-
_options = helper.merge(getDefaultOptions(options, options._events), _options);
176-
try {
177-
var bulkSync = require('./../lib/bulk-sync');
178-
new bulkSync(_options);
179-
} catch (error) {
180-
console.error(error)
181-
}
182-
});
183-
});
184-
});
185-
186157
/*
187158
* command for bulk publish
188159
* */

0 commit comments

Comments
 (0)