@@ -64,130 +64,172 @@ $ csdx content-type:details -a "management token" -c "content type" --no-path
64
64
65
65
## ` csdx content-type:audit `
66
66
67
- display recent changes to a Content Type
67
+ Display recent changes to a Content Type
68
68
69
69
```
70
70
USAGE
71
- $ csdx content-type:audit
71
+ $ csdx content-type:audit -c <value> [-s <value> | -a <value> | -a <value>] [-k <value> | | ]
72
72
73
- OPTIONS
74
- -a, --token-alias=token-alias management token alias
75
- -c, --content-type=content-type (required) Content Type UID
76
- -s, --stack=stack Stack UID
73
+ FLAGS
74
+ -a, --alias=<value> Alias of the management token
75
+ -a, --token-alias=<value> Management token alias
76
+ -c, --content-type=<value> (required) Content Type UID
77
+ -k, --stack-api-key=<value> Stack API Key
78
+ -s, --stack=<value> Stack UID
79
+
80
+ DESCRIPTION
81
+ Display recent changes to a Content Type
77
82
78
83
EXAMPLES
79
- $ csdx content-type:audit -s "xxxxxxxxxxxxxxxxxxx" -c "home_page"
80
- $ csdx content-type:audit -a "management token" -c "home_page"
84
+ $ csdx content-type:audit --stack-api-key "xxxxxxxxxxxxxxxxxxx" --content-type "home_page"
85
+
86
+ $ csdx content-type:audit --alias "management token" --content-type "home_page"
81
87
```
82
88
83
- _ See code: [ src/commands/content-type/audit.ts] ( https://github.com/Contentstack-Solutions/contentstack-cli-content-type/blob/v1.0.7 /src/commands/content-type/audit.ts ) _
89
+ _ See code: [ src/commands/content-type/audit.ts] ( https://github.com/Contentstack-Solutions/contentstack-cli-content-type/blob/v1.1.0 /src/commands/content-type/audit.ts ) _
84
90
85
91
## ` csdx content-type:compare `
86
92
87
- compare two Content Type versions
93
+ Compare two Content Type versions
88
94
89
95
```
90
96
USAGE
91
- $ csdx content-type:compare
97
+ $ csdx content-type:compare -c <value> [-s <value> | -a <value>] [-k <value> | ] [-a <value>] [-l <value> -r <value>]
98
+
99
+ FLAGS
100
+ -a, --alias=<value> Alias of the management token
101
+ -a, --token-alias=<value> Management token alias
102
+ -c, --content-type=<value> (required) Content Type UID
103
+ -k, --stack-api-key=<value> Stack API Key
104
+ -l, --left=<value> Content Type version, i.e. prev version
105
+ -r, --right=<value> Content Type version, i.e. later version
106
+ -s, --stack=<value> Stack UID
92
107
93
- OPTIONS
94
- -a, --token-alias=token-alias management token alias
95
- -c, --content-type=content-type (required) Content Type UID
96
- -l, --left=left Content Type version, i.e. prev version
97
- -r, --right=right Content Type version, i.e. later version
98
- -s, --stack=stack Stack UID
108
+ DESCRIPTION
109
+ Compare two Content Type versions
99
110
100
111
EXAMPLES
101
- $ csdx content-type:compare -s "xxxxxxxxxxxxxxxxxxx" -c "home_page"
102
- $ csdx content-type:compare -s "xxxxxxxxxxxxxxxxxxx" -c "home_page" -l # -r #
103
- $ csdx content-type:compare -a "management token" -c "home_page" -l # -r #
112
+ $ csdx content-type:compare --stack-api-key "xxxxxxxxxxxxxxxxxxx" --content-type "home_page"
113
+
114
+ $ csdx content-type:compare --stack-api-key "xxxxxxxxxxxxxxxxxxx" --content-type "home_page" --left # --right #
115
+
116
+ $ csdx content-type:compare --alias "management token" --content-type "home_page" --left # --right #
104
117
```
105
118
106
- _ See code: [ src/commands/content-type/compare.ts] ( https://github.com/Contentstack-Solutions/contentstack-cli-content-type/blob/v1.0.7 /src/commands/content-type/compare.ts ) _
119
+ _ See code: [ src/commands/content-type/compare.ts] ( https://github.com/Contentstack-Solutions/contentstack-cli-content-type/blob/v1.1.0 /src/commands/content-type/compare.ts ) _
107
120
108
121
## ` csdx content-type:compare-remote `
109
122
110
123
compare two Content Types on different Stacks
111
124
112
125
```
113
126
USAGE
114
- $ csdx content-type:compare-remote
127
+ $ csdx content-type:compare-remote (-o <value> -r <value>) -c <value>
115
128
116
- OPTIONS
117
- -c, --content-type=content-type (required) Content Type UID
118
- -o, --origin-stack=origin-stack (required) origin Stack UID
119
- -r, --remote-stack=remote-stack (required) remote Stack UID
129
+ FLAGS
130
+ -c, --content-type=<value> (required) Content Type UID
131
+ -o, --origin-stack=<value> (required) Origin Stack API Key
132
+ -r, --remote-stack=<value> (required) Remote Stack API Key
120
133
121
- EXAMPLE
122
- $ csdx content-type:compare-remote -o "xxxxxxxxxxxxxxxxxxx" -r "xxxxxxxxxxxxxxxxxxx" -c "home_page"
134
+ DESCRIPTION
135
+ compare two Content Types on different Stacks
136
+
137
+ EXAMPLES
138
+ $ csdx content-type:compare-remote --origin-stack "xxxxxxxxxxxxxxxxxxx" --remote-stack "xxxxxxxxxxxxxxxxxxx" -content-type "home_page"
123
139
```
124
140
125
- _ See code: [ src/commands/content-type/compare-remote.ts] ( https://github.com/Contentstack-Solutions/contentstack-cli-content-type/blob/v1.0.7 /src/commands/content-type/compare-remote.ts ) _
141
+ _ See code: [ src/commands/content-type/compare-remote.ts] ( https://github.com/Contentstack-Solutions/contentstack-cli-content-type/blob/v1.1.0 /src/commands/content-type/compare-remote.ts ) _
126
142
127
143
## ` csdx content-type:details `
128
144
129
- display Content Type details
145
+ Display Content Type details
130
146
131
147
```
132
148
USAGE
133
- $ csdx content-type:details
149
+ $ csdx content-type:details -c <value> [-s <value> | -a <value>] [-k <value> | ] [-a <value>] [-p]
134
150
135
- OPTIONS
136
- -a, --token-alias=token-alias management token alias
137
- -c, --content-type=content-type (required) Content Type UID
138
- -p, --[no-]path show path column
139
- -s, --stack=stack Stack UID
151
+ FLAGS
152
+ -a, --alias=<value> Alias of the management token
153
+ -a, --token-alias=<value> Management token alias
154
+ -c, --content-type=<value> (required) Content Type UID
155
+ -k, --stack-api-key=<value> Stack API Key
156
+ -p, --[no-]path show path column
157
+ -s, --stack=<value> Stack UID
158
+
159
+ DESCRIPTION
160
+ Display Content Type details
140
161
141
162
EXAMPLES
142
- $ csdx content-type:details -s "xxxxxxxxxxxxxxxxxxx" -c "home_page"
143
- $ csdx content-type:details -a "management token" -c "home_page"
144
- $ csdx content-type:details -a "management token" -c "home_page" --no-path
163
+ $ csdx content-type:details --stack-api-key "xxxxxxxxxxxxxxxxxxx" --content-type "home_page"
164
+
165
+ $ csdx content-type:details --alias "management token" --content-type "home_page"
166
+
167
+ $ csdx content-type:details --alias "management token" --content-type "home_page" --no-path
145
168
```
146
169
147
- _ See code: [ src/commands/content-type/details.ts] ( https://github.com/Contentstack-Solutions/contentstack-cli-content-type/blob/v1.0.7 /src/commands/content-type/details.ts ) _
170
+ _ See code: [ src/commands/content-type/details.ts] ( https://github.com/Contentstack-Solutions/contentstack-cli-content-type/blob/v1.1.0 /src/commands/content-type/details.ts ) _
148
171
149
172
## ` csdx content-type:diagram `
150
173
151
- create a visual diagram of a Stack's Content Types
174
+ Create a visual diagram of a Stack's Content Types
152
175
153
176
```
154
177
USAGE
155
- $ csdx content-type:diagram
156
-
157
- OPTIONS
158
- -a, --token-alias=token-alias management token alias
159
- -d, --direction=portrait|landscape (required) [default: portrait] graph orientation
160
- -o, --output=output (required) full path to output
161
- -s, --stack=stack Stack UID
162
- -t, --type=svg|dot (required) [default: svg] graph output file type
178
+ $ csdx content-type:diagram -o <value> -d portrait|landscape -t svg|dot [-s <value> | -a <value> | -a <value>] [-k
179
+ <value> | | ]
180
+
181
+ FLAGS
182
+ -a, --alias=<value> Alias of the management token
183
+ -a, --token-alias=<value> Management token alias
184
+ -d, --direction=<option> (required) [default: portrait] graph orientation
185
+ <options: portrait|landscape>
186
+ -k, --stack-api-key=<value> Stack API Key
187
+ -o, --output=<value> (required) full path to output
188
+ -s, --stack=<value> Stack UID
189
+ -t, --type=<option> (required) [default: svg] graph output file type
190
+ <options: svg|dot>
191
+
192
+ DESCRIPTION
193
+ Create a visual diagram of a Stack's Content Types
163
194
164
195
EXAMPLES
165
- $ csdx content-type:diagram -s "xxxxxxxxxxxxxxxxxxx" -o "content-model.svg"
166
- $ csdx content-type:diagram -a "management token" -o "content-model.svg"
167
- $ csdx content-type:diagram -a "management token" -o "content-model.svg" -d "landscape"
168
- $ csdx content-type:diagram -a "management token" -o "content-model.dot" -t "dot"
196
+ $ csdx content-type:diagram --stack-api-key "xxxxxxxxxxxxxxxxxxx" --output "content-model.svg"
197
+
198
+ $ csdx content-type:diagram --alias "management token" --output "content-model.svg"
199
+
200
+ $ csdx content-type:diagram --alias "management token" --output "content-model.svg" --direction "landscape"
201
+
202
+ $ csdx content-type:diagram --alias "management token" --output "content-model.dot" --type "dot"
169
203
```
170
204
171
- _ See code: [ src/commands/content-type/diagram.ts] ( https://github.com/Contentstack-Solutions/contentstack-cli-content-type/blob/v1.0.7 /src/commands/content-type/diagram.ts ) _
205
+ _ See code: [ src/commands/content-type/diagram.ts] ( https://github.com/Contentstack-Solutions/contentstack-cli-content-type/blob/v1.1.0 /src/commands/content-type/diagram.ts ) _
172
206
173
207
## ` csdx content-type:list `
174
208
175
- list all Content Types in a Stack
209
+ List all Content Types in a Stack
176
210
177
211
```
178
212
USAGE
179
- $ csdx content-type:list
213
+ $ csdx content-type:list [-s <value> | -a <value> | -a <value>] [-k <value> | | ] [-o title|modified]
214
+
215
+ FLAGS
216
+ -a, --alias=<value> Alias of the management token
217
+ -a, --token-alias=<value> Management token alias
218
+ -k, --stack-api-key=<value> Stack API Key
219
+ -o, --order=<option> [default: title] order by column
220
+ <options: title|modified>
221
+ -s, --stack=<value> Stack UID
180
222
181
- OPTIONS
182
- -a, --token-alias=token-alias management token alias
183
- -o, --order=title|modified [default: title] order by column
184
- -s, --stack=stack Stack UID
223
+ DESCRIPTION
224
+ List all Content Types in a Stack
185
225
186
226
EXAMPLES
187
- $ csdx content-type:list -s "xxxxxxxxxxxxxxxxxxx"
188
- $ csdx content-type:list -a "management token"
189
- $ csdx content-type:list -a "management token" -o modified
227
+ $ csdx content-type:list --stack-api-key "xxxxxxxxxxxxxxxxxxx"
228
+
229
+ $ csdx content-type:list --alias "management token"
230
+
231
+ $ csdx content-type:list --alias "management token" --order modified
190
232
```
191
233
192
- _ See code: [ src/commands/content-type/list.ts] ( https://github.com/Contentstack-Solutions/contentstack-cli-content-type/blob/v1.0.7 /src/commands/content-type/list.ts ) _
234
+ _ See code: [ src/commands/content-type/list.ts] ( https://github.com/Contentstack-Solutions/contentstack-cli-content-type/blob/v1.1.0 /src/commands/content-type/list.ts ) _
193
235
<!-- commandsstop -->
0 commit comments