@@ -20,7 +20,7 @@ $ npm install -g @contentstack/apps-cli
20
20
$ csdx COMMAND
21
21
running command...
22
22
$ csdx (--version| -v)
23
- @contentstack/apps-cli/1.0.5 darwin-arm64 node-v20.10 .0
23
+ @contentstack/apps-cli/1.1.0 darwin-arm64 node-v18.17 .0
24
24
$ csdx --help [COMMAND]
25
25
USAGE
26
26
$ csdx COMMAND
35
35
* [ ` csdx app:delete ` ] ( #csdx-appdelete )
36
36
* [ ` csdx app:get ` ] ( #csdx-appget )
37
37
* [ ` csdx app:install ` ] ( #csdx-appinstall )
38
+ * [ ` csdx app:reinstall ` ] ( #csdx-appreinstall )
38
39
* [ ` csdx app:uninstall ` ] ( #csdx-appuninstall )
39
40
* [ ` csdx app:update ` ] ( #csdx-appupdate )
40
41
@@ -61,9 +62,11 @@ EXAMPLES
61
62
$ csdx app:install
62
63
63
64
$ csdx app:uninstall
65
+
66
+ $ csdx app:reinstall
64
67
```
65
68
66
- _ See code: [ src/commands/app/index.ts] ( https://github.com/contentstack/apps-cli/blob/v1.0.5 /src/commands/app/index.ts ) _
69
+ _ See code: [ src/commands/app/index.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.0 /src/commands/app/index.ts ) _
67
70
68
71
## ` csdx app:create `
69
72
@@ -76,10 +79,10 @@ USAGE
76
79
FLAGS
77
80
-c, --config=<value> Path of the external config
78
81
-d, --data-dir=<value> Current working directory.
79
- -n, --name=<value> Name of the app to be created
80
- --app-type=<option> [default: stack] Type of App
82
+ -n, --name=<value> [default: app-boilerplate] Name of the app to be created
83
+ --app-type=<option> [default: stack] Type of app
81
84
<options: stack|organization>
82
- --org=<value> Provide the organization UID
85
+ --org=<value> Provide the organization UID to fetch the app details for the desired operation.
83
86
84
87
DESCRIPTION
85
88
Create a new app in Developer Hub and optionally clone a boilerplate locally.
@@ -94,7 +97,7 @@ EXAMPLES
94
97
$ csdx app:create --name App-3 --app-type organization --org <UID> -d ./boilerplate -c ./external-config.json
95
98
```
96
99
97
- _ See code: [ src/commands/app/create.ts] ( https://github.com/contentstack/apps-cli/blob/v1.0.5 /src/commands/app/create.ts ) _
100
+ _ See code: [ src/commands/app/create.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.0 /src/commands/app/create.ts ) _
98
101
99
102
## ` csdx app:delete `
100
103
@@ -105,8 +108,8 @@ USAGE
105
108
$ csdx app:delete [--org <value>] [--app-uid <value>]
106
109
107
110
FLAGS
108
- --app-uid=<value> Provide the app UID
109
- --org=<value> Provide the organization UID
111
+ --app-uid=<value> Provide the app UID of an existing app.
112
+ --org=<value> Provide the organization UID to fetch the app details for the desired operation.
110
113
111
114
DESCRIPTION
112
115
Delete app from marketplace
@@ -119,7 +122,7 @@ EXAMPLES
119
122
$ csdx app:delete --app-uid <value> --org <value> -d ./boilerplate
120
123
```
121
124
122
- _ See code: [ src/commands/app/delete.ts] ( https://github.com/contentstack/apps-cli/blob/v1.0.5 /src/commands/app/delete.ts ) _
125
+ _ See code: [ src/commands/app/delete.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.0 /src/commands/app/delete.ts ) _
123
126
124
127
## ` csdx app:get `
125
128
@@ -131,10 +134,10 @@ USAGE
131
134
132
135
FLAGS
133
136
-d, --data-dir=<value> Current working directory.
134
- --app-type=<option> [default: stack] Type of App
137
+ --app-type=<option> [default: stack] Type of app
135
138
<options: stack|organization>
136
- --app-uid=<value> Provide the app UID
137
- --org=<value> Provide the organization UID
139
+ --app-uid=<value> Provide the app UID of an existing app.
140
+ --org=<value> Provide the organization UID to fetch the app details for the desired operation.
138
141
139
142
DESCRIPTION
140
143
Get details of an app in developer hub
@@ -149,7 +152,7 @@ EXAMPLES
149
152
$ csdx app:get --org <value> --app-uid <value> --app-type organization
150
153
```
151
154
152
- _ See code: [ src/commands/app/get.ts] ( https://github.com/contentstack/apps-cli/blob/v1.0.5 /src/commands/app/get.ts ) _
155
+ _ See code: [ src/commands/app/get.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.0 /src/commands/app/get.ts ) _
153
156
154
157
## ` csdx app:install `
155
158
@@ -160,9 +163,9 @@ USAGE
160
163
$ csdx app:install [--org <value>] [--app-uid <value>] [--stack-api-key <value>]
161
164
162
165
FLAGS
163
- --app-uid=<value> Provide the app UID
164
- --org=<value> Provide the organization UID
165
- --stack-api-key=<value> API key of the stack where the app is to be installed .
166
+ --app-uid=<value> Provide the app UID of an existing app.
167
+ --org=<value> Provide the organization UID to fetch the app details for the desired operation.
168
+ --stack-api-key=<value> API key of the stack where the app operation is to be performed .
166
169
167
170
DESCRIPTION
168
171
Install an app from the marketplace
@@ -175,7 +178,33 @@ EXAMPLES
175
178
$ csdx app:install --org <UID> --app-uid <APP-UID-1> --stack-api-key <STACK-API-KEY-1>
176
179
```
177
180
178
- _ See code: [ src/commands/app/install.ts] ( https://github.com/contentstack/apps-cli/blob/v1.0.5/src/commands/app/install.ts ) _
181
+ _ See code: [ src/commands/app/install.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.0/src/commands/app/install.ts ) _
182
+
183
+ ## ` csdx app:reinstall `
184
+
185
+ Reinstall an app from the marketplace
186
+
187
+ ```
188
+ USAGE
189
+ $ csdx app:reinstall [--org <value>] [--app-uid <value>] [--stack-api-key <value>]
190
+
191
+ FLAGS
192
+ --app-uid=<value> Provide the app UID of an existing app.
193
+ --org=<value> Provide the organization UID to fetch the app details for the desired operation.
194
+ --stack-api-key=<value> API key of the stack where the app operation is to be performed.
195
+
196
+ DESCRIPTION
197
+ Reinstall an app from the marketplace
198
+
199
+ EXAMPLES
200
+ $ csdx app:reinstall
201
+
202
+ $ csdx app:reinstall --org <UID> --app-uid <APP-UID-1>
203
+
204
+ $ csdx app:reinstall --org <UID> --app-uid <APP-UID-1> --stack-api-key <STACK-API-KEY-1>
205
+ ```
206
+
207
+ _ See code: [ src/commands/app/reinstall.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.0/src/commands/app/reinstall.ts ) _
179
208
180
209
## ` csdx app:uninstall `
181
210
@@ -186,9 +215,9 @@ USAGE
186
215
$ csdx app:uninstall [--org <value>] [--app-uid <value>] [--installation-uid <value>] [--uninstall-all]
187
216
188
217
FLAGS
189
- --app-uid=<value> Provide the app UID
218
+ --app-uid=<value> Provide the app UID of an existing app.
190
219
--installation-uid=<value> Provide the installation ID of the app that needs to be uninstalled.
191
- --org=<value> Provide the organization UID
220
+ --org=<value> Provide the organization UID to fetch the app details for the desired operation.
192
221
--uninstall-all Please select stacks from where the app must be uninstalled.
193
222
194
223
DESCRIPTION
@@ -202,7 +231,7 @@ EXAMPLES
202
231
$ csdx app:uninstall --org <UID> --app-uid <APP-UID-1> --installation-uid <INSTALLATION-UID-1>
203
232
```
204
233
205
- _ See code: [ src/commands/app/uninstall.ts] ( https://github.com/contentstack/apps-cli/blob/v1.0.5 /src/commands/app/uninstall.ts ) _
234
+ _ See code: [ src/commands/app/uninstall.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.0 /src/commands/app/uninstall.ts ) _
206
235
207
236
## ` csdx app:update `
208
237
@@ -214,7 +243,7 @@ USAGE
214
243
215
244
FLAGS
216
245
--app-manifest=<value> Path to the app manifest.json file:
217
- --org=<value> Provide the organization UID
246
+ --org=<value> Provide the organization UID to fetch the app details for the desired operation.
218
247
219
248
DESCRIPTION
220
249
Update the existing app in developer hub
@@ -225,5 +254,5 @@ EXAMPLES
225
254
$ csdx app:update --app-manifest ./boilerplate/manifest.json
226
255
```
227
256
228
- _ See code: [ src/commands/app/update.ts] ( https://github.com/contentstack/apps-cli/blob/v1.0.5 /src/commands/app/update.ts ) _
257
+ _ See code: [ src/commands/app/update.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.0 /src/commands/app/update.ts ) _
229
258
<!-- commandsstop -->
0 commit comments