@@ -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.1.1 darwin-arm64 node-v18.16.0
23
+ @contentstack/apps-cli/1.2.0 darwin-arm64 node-v18.20.2
24
24
$ csdx --help [COMMAND]
25
25
USAGE
26
26
$ csdx COMMAND
33
33
* [ ` csdx app ` ] ( #csdx-app )
34
34
* [ ` csdx app:create ` ] ( #csdx-appcreate )
35
35
* [ ` csdx app:delete ` ] ( #csdx-appdelete )
36
+ * [ ` csdx app:deploy ` ] ( #csdx-appdeploy )
36
37
* [ ` csdx app:get ` ] ( #csdx-appget )
37
38
* [ ` csdx app:install ` ] ( #csdx-appinstall )
38
39
* [ ` csdx app:reinstall ` ] ( #csdx-appreinstall )
@@ -66,23 +67,22 @@ EXAMPLES
66
67
$ csdx app:reinstall
67
68
```
68
69
69
- _ See code: [ src/commands/app/index.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.1 /src/commands/app/index.ts ) _
70
+ _ See code: [ src/commands/app/index.ts] ( https://github.com/contentstack/apps-cli/blob/v1.2.0 /src/commands/app/index.ts ) _
70
71
71
72
## ` csdx app:create `
72
73
73
74
Create a new app in Developer Hub and optionally clone a boilerplate locally.
74
75
75
76
```
76
77
USAGE
77
- $ csdx app:create [--org <value>] [- n <value>] [--app-type stack|organization] [-c <value>] [-d <value>]
78
+ $ csdx app:create [-n <value>] [--app-type stack|organization] [-c <value>] [-d <value>]
78
79
79
80
FLAGS
80
81
-c, --config=<value> Path of the external config
81
82
-d, --data-dir=<value> Current working directory.
82
83
-n, --name=<value> [default: app-boilerplate] Name of the app to be created
83
84
--app-type=<option> [default: stack] Type of app
84
85
<options: stack|organization>
85
- --org=<value> Provide the organization UID to fetch the app details for the operation.
86
86
87
87
DESCRIPTION
88
88
Create a new app in Developer Hub and optionally clone a boilerplate locally.
@@ -97,19 +97,18 @@ EXAMPLES
97
97
$ csdx app:create --name App-3 --app-type organization --org <UID> -d ./boilerplate -c ./external-config.json
98
98
```
99
99
100
- _ See code: [ src/commands/app/create.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.1 /src/commands/app/create.ts ) _
100
+ _ See code: [ src/commands/app/create.ts] ( https://github.com/contentstack/apps-cli/blob/v1.2.0 /src/commands/app/create.ts ) _
101
101
102
102
## ` csdx app:delete `
103
103
104
104
Delete app from marketplace
105
105
106
106
```
107
107
USAGE
108
- $ csdx app:delete [--org <value>] [-- app-uid <value>]
108
+ $ csdx app:delete [--app-uid <value>]
109
109
110
110
FLAGS
111
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 operation.
113
112
114
113
DESCRIPTION
115
114
Delete app from marketplace
@@ -122,22 +121,58 @@ EXAMPLES
122
121
$ csdx app:delete --app-uid <value> --org <value> -d ./boilerplate
123
122
```
124
123
125
- _ See code: [ src/commands/app/delete.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.1/src/commands/app/delete.ts ) _
124
+ _ See code: [ src/commands/app/delete.ts] ( https://github.com/contentstack/apps-cli/blob/v1.2.0/src/commands/app/delete.ts ) _
125
+
126
+ ## ` csdx app:deploy `
127
+
128
+ Deploy an app
129
+
130
+ ```
131
+ USAGE
132
+ $ csdx app:deploy [--app-uid <value>] [--hosting-type Hosting with Launch|Custom Hosting] [--app-url <value>]
133
+ [--launch-project existing|new] [-c <value>]
134
+
135
+ FLAGS
136
+ -c, --config=<value> [optional] Please enter the path of the config file.
137
+ --app-uid=<value> Provide the app UID of an existing app.
138
+ --app-url=<value> Please enter the URL of the app you want to deploy.
139
+ --hosting-type=<option> Choose a valid Hosting Type.
140
+ <options: Hosting with Launch|Custom Hosting>
141
+ --launch-project=<option> Choose a new or an existing Launch project.
142
+ <options: existing|new>
143
+
144
+ DESCRIPTION
145
+ Deploy an app
146
+
147
+ EXAMPLES
148
+ $ csdx app:deploy
149
+
150
+ $ csdx app:deploy --org <UID> --app-uid <APP-UID-1>
151
+
152
+ $ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <Custom Hosting> --app-url <https://localhost:3000>
153
+
154
+ $ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <Hosting with Launch> --launch-project <existing>
155
+
156
+ $ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <Hosting with Launch> --launch-project <new>
157
+
158
+ $ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <Hosting with Launch> --launch-project <new> --config <config-path>
159
+ ```
160
+
161
+ _ See code: [ src/commands/app/deploy.ts] ( https://github.com/contentstack/apps-cli/blob/v1.2.0/src/commands/app/deploy.ts ) _
126
162
127
163
## ` csdx app:get `
128
164
129
165
Get details of an app in developer hub
130
166
131
167
```
132
168
USAGE
133
- $ csdx app:get [--org <value>] [-- app-uid <value>] [--app-type stack|organization] [-d <value>]
169
+ $ csdx app:get [--app-uid <value>] [--app-type stack|organization] [-d <value>]
134
170
135
171
FLAGS
136
172
-d, --data-dir=<value> Current working directory.
137
173
--app-type=<option> [default: stack] Type of app
138
174
<options: stack|organization>
139
175
--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 operation.
141
176
142
177
DESCRIPTION
143
178
Get details of an app in developer hub
@@ -152,19 +187,18 @@ EXAMPLES
152
187
$ csdx app:get --org <value> --app-uid <value> --app-type organization
153
188
```
154
189
155
- _ See code: [ src/commands/app/get.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.1 /src/commands/app/get.ts ) _
190
+ _ See code: [ src/commands/app/get.ts] ( https://github.com/contentstack/apps-cli/blob/v1.2.0 /src/commands/app/get.ts ) _
156
191
157
192
## ` csdx app:install `
158
193
159
194
Install an app from the marketplace
160
195
161
196
```
162
197
USAGE
163
- $ csdx app:install [--org <value>] [-- app-uid <value>] [--stack-api-key <value>]
198
+ $ csdx app:install [--app-uid <value>] [--stack-api-key <value>]
164
199
165
200
FLAGS
166
201
--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 operation.
168
202
--stack-api-key=<value> API key of the stack where the app operation is to be performed.
169
203
170
204
DESCRIPTION
@@ -178,19 +212,18 @@ EXAMPLES
178
212
$ csdx app:install --org <UID> --app-uid <APP-UID-1> --stack-api-key <STACK-API-KEY-1>
179
213
```
180
214
181
- _ See code: [ src/commands/app/install.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.1 /src/commands/app/install.ts ) _
215
+ _ See code: [ src/commands/app/install.ts] ( https://github.com/contentstack/apps-cli/blob/v1.2.0 /src/commands/app/install.ts ) _
182
216
183
217
## ` csdx app:reinstall `
184
218
185
219
Reinstall an app from the marketplace
186
220
187
221
```
188
222
USAGE
189
- $ csdx app:reinstall [--org <value>] [-- app-uid <value>] [--stack-api-key <value>]
223
+ $ csdx app:reinstall [--app-uid <value>] [--stack-api-key <value>]
190
224
191
225
FLAGS
192
226
--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 operation.
194
227
--stack-api-key=<value> API key of the stack where the app operation is to be performed.
195
228
196
229
DESCRIPTION
@@ -204,20 +237,19 @@ EXAMPLES
204
237
$ csdx app:reinstall --org <UID> --app-uid <APP-UID-1> --stack-api-key <STACK-API-KEY-1>
205
238
```
206
239
207
- _ See code: [ src/commands/app/reinstall.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.1 /src/commands/app/reinstall.ts ) _
240
+ _ See code: [ src/commands/app/reinstall.ts] ( https://github.com/contentstack/apps-cli/blob/v1.2.0 /src/commands/app/reinstall.ts ) _
208
241
209
242
## ` csdx app:uninstall `
210
243
211
244
Uninstall an app
212
245
213
246
```
214
247
USAGE
215
- $ csdx app:uninstall [--org <value>] [-- app-uid <value>] [--installation-uid <value>] [--uninstall-all]
248
+ $ csdx app:uninstall [--app-uid <value>] [--installation-uid <value>] [--uninstall-all]
216
249
217
250
FLAGS
218
251
--app-uid=<value> Provide the app UID of an existing app.
219
252
--installation-uid=<value> Provide the installation ID of the app that needs to be uninstalled.
220
- --org=<value> Provide the organization UID to fetch the app details for the operation.
221
253
--uninstall-all Please select stacks from where the app must be uninstalled.
222
254
223
255
DESCRIPTION
@@ -231,19 +263,18 @@ EXAMPLES
231
263
$ csdx app:uninstall --org <UID> --app-uid <APP-UID-1> --installation-uid <INSTALLATION-UID-1>
232
264
```
233
265
234
- _ See code: [ src/commands/app/uninstall.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.1 /src/commands/app/uninstall.ts ) _
266
+ _ See code: [ src/commands/app/uninstall.ts] ( https://github.com/contentstack/apps-cli/blob/v1.2.0 /src/commands/app/uninstall.ts ) _
235
267
236
268
## ` csdx app:update `
237
269
238
270
Update the existing app in developer hub
239
271
240
272
```
241
273
USAGE
242
- $ csdx app:update [--org <value>] [-- app-manifest <value>]
274
+ $ csdx app:update [--app-manifest <value>]
243
275
244
276
FLAGS
245
277
--app-manifest=<value> Path to the app manifest.json file:
246
- --org=<value> Provide the organization UID to fetch the app details for the operation.
247
278
248
279
DESCRIPTION
249
280
Update the existing app in developer hub
@@ -254,5 +285,5 @@ EXAMPLES
254
285
$ csdx app:update --app-manifest ./boilerplate/manifest.json
255
286
```
256
287
257
- _ See code: [ src/commands/app/update.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.1 /src/commands/app/update.ts ) _
288
+ _ See code: [ src/commands/app/update.ts] ( https://github.com/contentstack/apps-cli/blob/v1.2.0 /src/commands/app/update.ts ) _
258
289
<!-- commandsstop -->
0 commit comments