@@ -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.1.1 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 )
@@ -74,15 +75,14 @@ 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.
@@ -105,11 +105,10 @@ 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
@@ -124,20 +123,54 @@ EXAMPLES
124
123
125
124
_ See code: [ src/commands/app/delete.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.1/src/commands/app/delete.ts ) _
126
125
126
+ ## ` csdx app:deploy `
127
+
128
+ Deploy an app
129
+
130
+ ```
131
+ USAGE
132
+ $ csdx app:deploy [--app-uid <value>] [--hosting-type <value>] [--app-url <value>] [-y] [--launch-project-type
133
+ existing-project|new-project] [-c <value>]
134
+
135
+ FLAGS
136
+ -c, --config=<value> [optional] path of config file
137
+ -y, --yes Force disconnect launch project by skipping the confirmation
138
+ --app-uid=<value> Provide the app UID of an existing app.
139
+ --app-url=<value> App URL
140
+ --hosting-type=<value> Hosting Type
141
+ --launch-project-type=<option> Launch Project Type
142
+ <options: existing-project|new-project>
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-type <existing-project>
155
+
156
+ $ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <Hosting with Launch> --launch-project-type <existing-project> --config <config-path>
157
+ ```
158
+
159
+ _ See code: [ src/commands/app/deploy.ts] ( https://github.com/contentstack/apps-cli/blob/v1.1.1/src/commands/app/deploy.ts ) _
160
+
127
161
## ` csdx app:get `
128
162
129
163
Get details of an app in developer hub
130
164
131
165
```
132
166
USAGE
133
- $ csdx app:get [--org <value>] [-- app-uid <value>] [--app-type stack|organization] [-d <value>]
167
+ $ csdx app:get [--app-uid <value>] [--app-type stack|organization] [-d <value>]
134
168
135
169
FLAGS
136
170
-d, --data-dir=<value> Current working directory.
137
171
--app-type=<option> [default: stack] Type of app
138
172
<options: stack|organization>
139
173
--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
174
142
175
DESCRIPTION
143
176
Get details of an app in developer hub
@@ -160,11 +193,10 @@ Install an app from the marketplace
160
193
161
194
```
162
195
USAGE
163
- $ csdx app:install [--org <value>] [-- app-uid <value>] [--stack-api-key <value>]
196
+ $ csdx app:install [--app-uid <value>] [--stack-api-key <value>]
164
197
165
198
FLAGS
166
199
--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
200
--stack-api-key=<value> API key of the stack where the app operation is to be performed.
169
201
170
202
DESCRIPTION
@@ -186,11 +218,10 @@ Reinstall an app from the marketplace
186
218
187
219
```
188
220
USAGE
189
- $ csdx app:reinstall [--org <value>] [-- app-uid <value>] [--stack-api-key <value>]
221
+ $ csdx app:reinstall [--app-uid <value>] [--stack-api-key <value>]
190
222
191
223
FLAGS
192
224
--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
225
--stack-api-key=<value> API key of the stack where the app operation is to be performed.
195
226
196
227
DESCRIPTION
@@ -212,12 +243,11 @@ Uninstall an app
212
243
213
244
```
214
245
USAGE
215
- $ csdx app:uninstall [--org <value>] [-- app-uid <value>] [--installation-uid <value>] [--uninstall-all]
246
+ $ csdx app:uninstall [--app-uid <value>] [--installation-uid <value>] [--uninstall-all]
216
247
217
248
FLAGS
218
249
--app-uid=<value> Provide the app UID of an existing app.
219
250
--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
251
--uninstall-all Please select stacks from where the app must be uninstalled.
222
252
223
253
DESCRIPTION
@@ -239,11 +269,10 @@ Update the existing app in developer hub
239
269
240
270
```
241
271
USAGE
242
- $ csdx app:update [--org <value>] [-- app-manifest <value>]
272
+ $ csdx app:update [--app-manifest <value>]
243
273
244
274
FLAGS
245
275
--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
276
248
277
DESCRIPTION
249
278
Update the existing app in developer hub
0 commit comments