2
2
<!-- Insert Apps CLI version here -->
3
3
4
4
# @contentstack/apps-cli
5
+
5
6
Contentstack lets you develop apps in your organization using the Developer Hub portal. With the Apps CLI plugin, Contentstack CLI allows you to perform the CRUD operations on your app in Developer Hub and then use the app in your organization or stack by installing or uninstalling your app as required.
6
7
7
8
## How to install this plugin
@@ -20,7 +21,7 @@ $ npm install -g @contentstack/apps-cli
20
21
$ csdx COMMAND
21
22
running command...
22
23
$ csdx (--version| -v)
23
- @contentstack/apps-cli/1.3.4 darwin-arm64 node-v22.2.0
24
+ @contentstack/apps-cli/1.5.0 darwin-arm64 node-v22.13.1
24
25
$ csdx --help [COMMAND]
25
26
USAGE
26
27
$ csdx COMMAND
29
30
<!-- usagestop -->
30
31
31
32
# Commands
33
+
32
34
<!-- commands -->
33
35
* [ ` csdx app ` ] ( #csdx-app )
34
36
* [ ` csdx app:create ` ] ( #csdx-appcreate )
@@ -69,26 +71,26 @@ EXAMPLES
69
71
$ csdx app:update
70
72
```
71
73
72
- _ See code: [ src/commands/app/index.ts] ( https://github.com/contentstack/apps-cli/blob/v1.3.4 /src/commands/app/index.ts ) _
74
+ _ See code: [ src/commands/app/index.ts] ( https://github.com/contentstack/apps-cli/blob/v1.5.0 /src/commands/app/index.ts ) _
73
75
74
76
## ` csdx app:create `
75
77
76
78
Create a new app in Developer Hub and optionally clone a boilerplate locally.
77
79
78
80
```
79
81
USAGE
80
- $ csdx app:create [-n <value>] [--app-type stack|organization] [-c <value>] [-d <value>] [--boilerplate
81
- <value>] [--org <value>]
82
+ $ csdx app:create [--org <value>] [- n <value>] [--app-type stack|organization] [-c <value>] [-d <value>]
83
+ [--boilerplate <value>]
82
84
83
85
FLAGS
84
- -c, --config=<value> Path of the external config
85
- -d, --data-dir=<value> Current working directory.
86
- -n, --name=<value> Name of the app to be created
87
- --app-type=<option> [default: stack] Type of app
88
- <options: stack|organization>
89
- --boilerplate=<value> Provide a boilerplate. <options: App Boilerplate|DAM App Boilerplate|Ecommerce App
90
- Boilerplate>
91
- --org=<value> Provide the organization UID to fetch the app details for the operation.
86
+ -c, --config=<value> Path of the external config
87
+ -d, --data-dir=<value> Current working directory.
88
+ -n, --name=<value> Name of the app to be created
89
+ --app-type=<option> [default: stack] Type of app
90
+ <options: stack|organization>
91
+ --boilerplate=<value> Provide a boilerplate. <options: App Boilerplate|DAM App Boilerplate|Ecommerce App
92
+ Boilerplate>
93
+ --org=<value> Provide the organization UID to fetch the app details for the operation.
92
94
93
95
DESCRIPTION
94
96
Create a new app in Developer Hub and optionally clone a boilerplate locally.
@@ -109,15 +111,15 @@ EXAMPLES
109
111
$ csdx app:create --name App-4 --app-type organization --org <UID> --boilerplate <Ecommerce App Boilerplate>
110
112
```
111
113
112
- _ See code: [ src/commands/app/create.ts] ( https://github.com/contentstack/apps-cli/blob/v1.3.4 /src/commands/app/create.ts ) _
114
+ _ See code: [ src/commands/app/create.ts] ( https://github.com/contentstack/apps-cli/blob/v1.5.0 /src/commands/app/create.ts ) _
113
115
114
116
## ` csdx app:delete `
115
117
116
118
Delete app from marketplace
117
119
118
120
```
119
121
USAGE
120
- $ csdx app:delete [--app-uid <value>] [--org <value>]
122
+ $ csdx app:delete [--org <value>] [--app-uid <value>]
121
123
122
124
FLAGS
123
125
--app-uid=<value> Provide the app UID of an existing app.
@@ -134,26 +136,26 @@ EXAMPLES
134
136
$ csdx app:delete --app-uid <value> --org <value> -d ./boilerplate
135
137
```
136
138
137
- _ See code: [ src/commands/app/delete.ts] ( https://github.com/contentstack/apps-cli/blob/v1.3.4 /src/commands/app/delete.ts ) _
139
+ _ See code: [ src/commands/app/delete.ts] ( https://github.com/contentstack/apps-cli/blob/v1.5.0 /src/commands/app/delete.ts ) _
138
140
139
141
## ` csdx app:deploy `
140
142
141
143
Deploy an app
142
144
143
145
```
144
146
USAGE
145
- $ csdx app:deploy [--app-uid <value>] [--hosting-type hosting-with-launch|custom-hosting] [--app-url <value> ]
146
- [--launch-project existing|new] [-c <value>] [--org <value>]
147
+ $ csdx app:deploy [--org <value>] [-- app-uid <value>] [--hosting-type hosting-with-launch|custom-hosting]
148
+ [--app-url <value>] [-- launch-project existing|new] [-c <value>]
147
149
148
150
FLAGS
149
- -c, --config=<value> [optional] Please enter the path of the config file.
150
- --app-uid=<value> Provide the app UID of an existing app.
151
- --app-url=<value> Please enter the URL of the app you want to deploy.
152
- --hosting-type=<option> Choose a valid Hosting Type.
153
- <options: hosting-with-launch|custom-hosting>
154
- --launch-project=<option> Choose a new or an existing Launch project.
155
- <options: existing|new>
156
- --org=<value> Provide the organization UID to fetch the app details for the operation.
151
+ -c, --config=<value> [optional] Please enter the path of the config file.
152
+ --app-uid=<value> Provide the app UID of an existing app.
153
+ --app-url=<value> Please enter the URL of the app you want to deploy.
154
+ --hosting-type=<option> Choose a valid Hosting Type.
155
+ <options: hosting-with-launch|custom-hosting>
156
+ --launch-project=<option> Choose a new or an existing Launch project.
157
+ <options: existing|new>
158
+ --org=<value> Provide the organization UID to fetch the app details for the operation.
157
159
158
160
DESCRIPTION
159
161
Deploy an app
@@ -172,22 +174,22 @@ EXAMPLES
172
174
$ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <hosting-with-launch> --launch-project <new> --config <config-path>
173
175
```
174
176
175
- _ See code: [ src/commands/app/deploy.ts] ( https://github.com/contentstack/apps-cli/blob/v1.3.4 /src/commands/app/deploy.ts ) _
177
+ _ See code: [ src/commands/app/deploy.ts] ( https://github.com/contentstack/apps-cli/blob/v1.5.0 /src/commands/app/deploy.ts ) _
176
178
177
179
## ` csdx app:get `
178
180
179
181
Get details of an app in developer hub
180
182
181
183
```
182
184
USAGE
183
- $ csdx app:get [--app-uid <value>] [--app-type stack|organization] [-d <value>] [--org <value>]
185
+ $ csdx app:get [--org <value>] [-- app-uid <value>] [--app-type stack|organization] [-d <value>]
184
186
185
187
FLAGS
186
- -d, --data-dir=<value> Current working directory.
187
- --app-type=<option> [default: stack] Type of app
188
- <options: stack|organization>
189
- --app-uid=<value> Provide the app UID of an existing app.
190
- --org=<value> Provide the organization UID to fetch the app details for the operation.
188
+ -d, --data-dir=<value> Current working directory.
189
+ --app-type=<option> [default: stack] Type of app
190
+ <options: stack|organization>
191
+ --app-uid=<value> Provide the app UID of an existing app.
192
+ --org=<value> Provide the organization UID to fetch the app details for the operation.
191
193
192
194
DESCRIPTION
193
195
Get details of an app in developer hub
@@ -202,15 +204,15 @@ EXAMPLES
202
204
$ csdx app:get --org <value> --app-uid <value> --app-type organization
203
205
```
204
206
205
- _ See code: [ src/commands/app/get.ts] ( https://github.com/contentstack/apps-cli/blob/v1.3.4 /src/commands/app/get.ts ) _
207
+ _ See code: [ src/commands/app/get.ts] ( https://github.com/contentstack/apps-cli/blob/v1.5.0 /src/commands/app/get.ts ) _
206
208
207
209
## ` csdx app:install `
208
210
209
211
Install an app from the marketplace
210
212
211
213
```
212
214
USAGE
213
- $ csdx app:install [--app-uid <value>] [--stack-api-key <value>] [--org <value>]
215
+ $ csdx app:install [--org <value>] [--app-uid <value>] [--stack-api-key <value>]
214
216
215
217
FLAGS
216
218
--app-uid=<value> Provide the app UID of an existing app.
@@ -228,15 +230,15 @@ EXAMPLES
228
230
$ csdx app:install --org <UID> --app-uid <APP-UID-1> --stack-api-key <STACK-API-KEY-1>
229
231
```
230
232
231
- _ See code: [ src/commands/app/install.ts] ( https://github.com/contentstack/apps-cli/blob/v1.3.4 /src/commands/app/install.ts ) _
233
+ _ See code: [ src/commands/app/install.ts] ( https://github.com/contentstack/apps-cli/blob/v1.5.0 /src/commands/app/install.ts ) _
232
234
233
235
## ` csdx app:reinstall `
234
236
235
237
Reinstall an app from the marketplace
236
238
237
239
```
238
240
USAGE
239
- $ csdx app:reinstall [--app-uid <value>] [--stack-api-key <value>] [--org <value>]
241
+ $ csdx app:reinstall [--org <value>] [--app-uid <value>] [--stack-api-key <value>]
240
242
241
243
FLAGS
242
244
--app-uid=<value> Provide the app UID of an existing app.
@@ -254,15 +256,15 @@ EXAMPLES
254
256
$ csdx app:reinstall --org <UID> --app-uid <APP-UID-1> --stack-api-key <STACK-API-KEY-1>
255
257
```
256
258
257
- _ See code: [ src/commands/app/reinstall.ts] ( https://github.com/contentstack/apps-cli/blob/v1.3.4 /src/commands/app/reinstall.ts ) _
259
+ _ See code: [ src/commands/app/reinstall.ts] ( https://github.com/contentstack/apps-cli/blob/v1.5.0 /src/commands/app/reinstall.ts ) _
258
260
259
261
## ` csdx app:uninstall `
260
262
261
263
Uninstall an app
262
264
263
265
```
264
266
USAGE
265
- $ csdx app:uninstall [--app-uid <value>] [--installation-uid <value>] [--uninstall-all] [--org <value> ]
267
+ $ csdx app:uninstall [--org <value>] [-- app-uid <value>] [--installation-uid <value>] [--uninstall-all]
266
268
267
269
FLAGS
268
270
--app-uid=<value> Provide the app UID of an existing app.
@@ -281,15 +283,15 @@ EXAMPLES
281
283
$ csdx app:uninstall --org <UID> --app-uid <APP-UID-1> --installation-uid <INSTALLATION-UID-1>
282
284
```
283
285
284
- _ See code: [ src/commands/app/uninstall.ts] ( https://github.com/contentstack/apps-cli/blob/v1.3.4 /src/commands/app/uninstall.ts ) _
286
+ _ See code: [ src/commands/app/uninstall.ts] ( https://github.com/contentstack/apps-cli/blob/v1.5.0 /src/commands/app/uninstall.ts ) _
285
287
286
288
## ` csdx app:update `
287
289
288
290
Update the existing app in developer hub
289
291
290
292
```
291
293
USAGE
292
- $ csdx app:update [--app-manifest <value>] [--org <value>]
294
+ $ csdx app:update [--org <value>] [--app-manifest <value>]
293
295
294
296
FLAGS
295
297
--app-manifest=<value> Path to the app manifest.json file:
@@ -304,5 +306,5 @@ EXAMPLES
304
306
$ csdx app:update --app-manifest ./boilerplate/manifest.json
305
307
```
306
308
307
- _ See code: [ src/commands/app/update.ts] ( https://github.com/contentstack/apps-cli/blob/v1.3.4 /src/commands/app/update.ts ) _
309
+ _ See code: [ src/commands/app/update.ts] ( https://github.com/contentstack/apps-cli/blob/v1.5.0 /src/commands/app/update.ts ) _
308
310
<!-- commandsstop -->
0 commit comments