Skip to content

Commit a4cdfd2

Browse files
Made changes in example config folder
1 parent c1077d6 commit a4cdfd2

9 files changed

Lines changed: 73 additions & 880 deletions

File tree

packages/auth/package-lock.json

Lines changed: 45 additions & 782 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/contentstack-export/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $ npm install -g @contentstack/cli-cm-export
1919
$ csdx COMMAND
2020
running command...
2121
$ csdx (-v|--version|version)
22-
@contentstack/cli-cm-export/0.0.1 darwin-x64 node-v10.19.0
22+
@contentstack/cli-cm-export/0.0.27 linux-x64 node-v12.13.1
2323
$ csdx --help [COMMAND]
2424
USAGE
2525
$ csdx COMMAND
@@ -32,7 +32,7 @@ USAGE
3232

3333
## `csdx cm:export`
3434

35-
Export utils for exporting the content from stack
35+
Export content from a stack
3636

3737
```
3838
USAGE
@@ -41,11 +41,11 @@ USAGE
4141
OPTIONS
4242
-A, --auth-token to use auth token
4343
-a, --management-token-alias=management-token-alias alias of the management token
44-
-c, --config=config [optional]path of the config
44+
-c, --config=config [optional] path of the config
4545
-d, --data=data path or location to store the data
46-
-l, --master-lang=master-lang code of the source stacks master Language
46+
-l, --master-lang=master-lang code of the source stack's master Language
4747
-m, --module=module [optional] specific module name
48-
-s, --stack-uid=stack-uid API key of source stack
48+
-s, --stack-uid=stack-uid API key of the source stack
4949
5050
DESCRIPTION
5151
...
@@ -55,11 +55,11 @@ EXAMPLES
5555
csdx cm:export -A
5656
csdx cm:export -A -l 'master-language' -s 'stack_ApiKey' -d 'path/of/export/destination/dir'
5757
csdx cm:export -A -c 'path/of/config/dir'
58-
csdx cm:export -a 'alias of managment_token'
59-
csdx cm:export -a "alias of managment_token" -l "master-language" -d "path/of/export/destination/dir"
60-
csdx cm:export -a "alias of managment_token" -c "path/of/config/file"
58+
csdx cm:export -a 'management_token_alias'
59+
csdx cm:export -a "management_token_alias" -l "master-language" -d "path/of/export/destination/dir"
60+
csdx cm:export -a "management_token_alias" -c "path/of/config/file"
6161
csdx cm:export -A -m "single module name"
6262
```
6363

64-
_See code: [src/commands/cm/export.js](https://github.com/contentstack/cli/blob/v0.0.1/src/commands/cm/export.js)_
64+
_See code: [src/commands/cm/export.js](https://github.com/contentstack/cli/blob/v0.0.27/src/commands/cm/export.js)_
6565
<!-- commandsstop -->
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
"master_locale": {
2-
// master locale of the stack
1+
{"master_locale": {
32
"name": "English - United States",
43
"code": "en-us"
54
},
6-
// Stack API KEY
7-
"source_stack": "dummy_value", // mandatory
8-
// Path where the exported data will be stored (relative path)
9-
"data": "Path"
5+
"source_stack": "dummy_value",
6+
"data": "Path"
7+
}

packages/contentstack-export/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/contentstack-export/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@contentstack/cli-cm-export",
33
"description": "It is contentstack export plugin",
4-
"version": "0.0.1",
4+
"version": "0.0.27",
55
"author": "contentstack",
66
"bugs": "https://github.com/contentstack/cli/issues",
77
"publishConfig": {

packages/contentstack-import/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $ npm install -g @contentstack/cli-cm-import
1919
$ csdx COMMAND
2020
running command...
2121
$ csdx (-v|--version|version)
22-
@contentstack/cli-cm-import/0.0.23 darwin-x64 node-v10.19.0
22+
@contentstack/cli-cm-import/0.0.24 linux-x64 node-v12.13.1
2323
$ csdx --help [COMMAND]
2424
USAGE
2525
$ csdx COMMAND
@@ -41,9 +41,9 @@ USAGE
4141
OPTIONS
4242
-A, --auth-token to use auth token
4343
-a, --management-token-alias=management-token-alias alias of the management token
44-
-c, --config=config [optional]path of config file
44+
-c, --config=config [optional] path of config file
4545
-d, --data=data path and location where data is stored
46-
-l, --master-lang=master-lang code of the target stacks master language
46+
-l, --master-lang=master-lang code of the target stack's master language
4747
-m, --module=module [optional] specific module name
4848
-s, --stack-uid=stack-uid API key of the target stack
4949
@@ -55,11 +55,11 @@ EXAMPLES
5555
csdx cm:import -A
5656
csdx cm:import -A -l "master-language" -s "stack_ApiKey" -d "path/of/export/destination/dir"
5757
csdx cm:import -A -c "path/of/config/dir"
58-
csdx cm:import -a "alias of managment_token"
59-
csdx cm:import -a "alias of managment_token" -l "master-language" -d "path/of/export/destination/dir"
60-
csdx cm:import -a "alias of managment_token" -c "path/of/config/file"
58+
csdx cm:import -a "management_token_alias"
59+
csdx cm:import -a "management_token_alias" -l "master-language" -d "path/of/export/destination/dir"
60+
csdx cm:import -a "management_token_alias" -c "path/of/config/file"
6161
csdx cm:import -A -m "single module name"
6262
```
6363

64-
_See code: [src/commands/cm/import.js](https://github.com/contentstack/cli/blob/v0.0.23/src/commands/cm/import.js)_
64+
_See code: [src/commands/cm/import.js](https://github.com/contentstack/cli/blob/v0.0.24/src/commands/cm/import.js)_
6565
<!-- commandsstop -->
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
"master_locale": {
2-
// master locale of the stack
1+
{"master_locale": {
32
"name": "English - United States",
43
"code": "en-us"
54
},
6-
// Stack API KEY
7-
"target_stack": "dummy_value", // mandatory
8-
// Path where the exported data will be stored (relative path)
9-
"data": "Path"
5+
"target_stack": "dummy_value",
6+
"data": "Path"
7+
}

packages/contentstack-import/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@contentstack/cli-cm-import",
3-
"description": "It is contentstack import utils",
4-
"version": "0.0.23",
3+
"description": "Export content from a stack",
4+
"version": "0.0.24",
55
"author": "contentstack",
66
"bugs": "https://github.com/contentstack/cli/issues",
77
"dependencies": {

packages/contentstack/package-lock.json

Lines changed: 0 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)