22<!-- Insert Apps CLI version here -->
33
44# @contentstack/apps-cli
5+
56Contentstack 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.
67
78## How to install this plugin
@@ -20,7 +21,7 @@ $ npm install -g @contentstack/apps-cli
2021$ csdx COMMAND
2122running command...
2223$ 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
2425$ csdx --help [COMMAND]
2526USAGE
2627 $ csdx COMMAND
2930<!-- usagestop -->
3031
3132# Commands
33+
3234<!-- commands -->
3335* [ ` csdx app ` ] ( #csdx-app )
3436* [ ` csdx app:create ` ] ( #csdx-appcreate )
@@ -69,26 +71,26 @@ EXAMPLES
6971 $ csdx app:update
7072```
7173
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 ) _
7375
7476## ` csdx app:create `
7577
7678Create a new app in Developer Hub and optionally clone a boilerplate locally.
7779
7880```
7981USAGE
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>]
8284
8385FLAGS
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.
9294
9395DESCRIPTION
9496 Create a new app in Developer Hub and optionally clone a boilerplate locally.
@@ -109,15 +111,15 @@ EXAMPLES
109111 $ csdx app:create --name App-4 --app-type organization --org <UID> --boilerplate <Ecommerce App Boilerplate>
110112```
111113
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 ) _
113115
114116## ` csdx app:delete `
115117
116118Delete app from marketplace
117119
118120```
119121USAGE
120- $ csdx app:delete [--app-uid <value>] [--org <value>]
122+ $ csdx app:delete [--org <value>] [--app-uid <value>]
121123
122124FLAGS
123125 --app-uid=<value> Provide the app UID of an existing app.
@@ -134,26 +136,26 @@ EXAMPLES
134136 $ csdx app:delete --app-uid <value> --org <value> -d ./boilerplate
135137```
136138
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 ) _
138140
139141## ` csdx app:deploy `
140142
141143Deploy an app
142144
143145```
144146USAGE
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>]
147149
148150FLAGS
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.
157159
158160DESCRIPTION
159161 Deploy an app
@@ -172,22 +174,22 @@ EXAMPLES
172174 $ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <hosting-with-launch> --launch-project <new> --config <config-path>
173175```
174176
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 ) _
176178
177179## ` csdx app:get `
178180
179181Get details of an app in developer hub
180182
181183```
182184USAGE
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>]
184186
185187FLAGS
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.
191193
192194DESCRIPTION
193195 Get details of an app in developer hub
@@ -202,15 +204,15 @@ EXAMPLES
202204 $ csdx app:get --org <value> --app-uid <value> --app-type organization
203205```
204206
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 ) _
206208
207209## ` csdx app:install `
208210
209211Install an app from the marketplace
210212
211213```
212214USAGE
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>]
214216
215217FLAGS
216218 --app-uid=<value> Provide the app UID of an existing app.
@@ -228,15 +230,15 @@ EXAMPLES
228230 $ csdx app:install --org <UID> --app-uid <APP-UID-1> --stack-api-key <STACK-API-KEY-1>
229231```
230232
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 ) _
232234
233235## ` csdx app:reinstall `
234236
235237Reinstall an app from the marketplace
236238
237239```
238240USAGE
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>]
240242
241243FLAGS
242244 --app-uid=<value> Provide the app UID of an existing app.
@@ -254,15 +256,15 @@ EXAMPLES
254256 $ csdx app:reinstall --org <UID> --app-uid <APP-UID-1> --stack-api-key <STACK-API-KEY-1>
255257```
256258
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 ) _
258260
259261## ` csdx app:uninstall `
260262
261263Uninstall an app
262264
263265```
264266USAGE
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]
266268
267269FLAGS
268270 --app-uid=<value> Provide the app UID of an existing app.
@@ -281,15 +283,15 @@ EXAMPLES
281283 $ csdx app:uninstall --org <UID> --app-uid <APP-UID-1> --installation-uid <INSTALLATION-UID-1>
282284```
283285
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 ) _
285287
286288## ` csdx app:update `
287289
288290Update the existing app in developer hub
289291
290292```
291293USAGE
292- $ csdx app:update [--app-manifest <value>] [--org <value>]
294+ $ csdx app:update [--org <value>] [--app-manifest <value>]
293295
294296FLAGS
295297 --app-manifest=<value> Path to the app manifest.json file:
@@ -304,5 +306,5 @@ EXAMPLES
304306 $ csdx app:update --app-manifest ./boilerplate/manifest.json
305307```
306308
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 ) _
308310<!-- commandsstop -->
0 commit comments