@@ -20,7 +20,7 @@ $ npm install -g @contentstack/apps-cli
2020$ csdx COMMAND
2121running command...
2222$ 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
2424$ csdx --help [COMMAND]
2525USAGE
2626 $ csdx COMMAND
3535* [ ` csdx app:delete ` ] ( #csdx-appdelete )
3636* [ ` csdx app:get ` ] ( #csdx-appget )
3737* [ ` csdx app:install ` ] ( #csdx-appinstall )
38+ * [ ` csdx app:reinstall ` ] ( #csdx-appreinstall )
3839* [ ` csdx app:uninstall ` ] ( #csdx-appuninstall )
3940* [ ` csdx app:update ` ] ( #csdx-appupdate )
4041
@@ -61,9 +62,11 @@ EXAMPLES
6162 $ csdx app:install
6263
6364 $ csdx app:uninstall
65+
66+ $ csdx app:reinstall
6467```
6568
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 ) _
6770
6871## ` csdx app:create `
6972
@@ -76,10 +79,10 @@ USAGE
7679FLAGS
7780 -c, --config=<value> Path of the external config
7881 -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
8184 <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.
8386
8487DESCRIPTION
8588 Create a new app in Developer Hub and optionally clone a boilerplate locally.
@@ -94,7 +97,7 @@ EXAMPLES
9497 $ csdx app:create --name App-3 --app-type organization --org <UID> -d ./boilerplate -c ./external-config.json
9598```
9699
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 ) _
98101
99102## ` csdx app:delete `
100103
@@ -105,8 +108,8 @@ USAGE
105108 $ csdx app:delete [--org <value>] [--app-uid <value>]
106109
107110FLAGS
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.
110113
111114DESCRIPTION
112115 Delete app from marketplace
@@ -119,7 +122,7 @@ EXAMPLES
119122 $ csdx app:delete --app-uid <value> --org <value> -d ./boilerplate
120123```
121124
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 ) _
123126
124127## ` csdx app:get `
125128
@@ -131,10 +134,10 @@ USAGE
131134
132135FLAGS
133136 -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
135138 <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.
138141
139142DESCRIPTION
140143 Get details of an app in developer hub
@@ -149,7 +152,7 @@ EXAMPLES
149152 $ csdx app:get --org <value> --app-uid <value> --app-type organization
150153```
151154
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 ) _
153156
154157## ` csdx app:install `
155158
@@ -160,9 +163,9 @@ USAGE
160163 $ csdx app:install [--org <value>] [--app-uid <value>] [--stack-api-key <value>]
161164
162165FLAGS
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 .
166169
167170DESCRIPTION
168171 Install an app from the marketplace
@@ -175,7 +178,33 @@ EXAMPLES
175178 $ csdx app:install --org <UID> --app-uid <APP-UID-1> --stack-api-key <STACK-API-KEY-1>
176179```
177180
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 ) _
179208
180209## ` csdx app:uninstall `
181210
@@ -186,9 +215,9 @@ USAGE
186215 $ csdx app:uninstall [--org <value>] [--app-uid <value>] [--installation-uid <value>] [--uninstall-all]
187216
188217FLAGS
189- --app-uid=<value> Provide the app UID
218+ --app-uid=<value> Provide the app UID of an existing app.
190219 --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.
192221 --uninstall-all Please select stacks from where the app must be uninstalled.
193222
194223DESCRIPTION
@@ -202,7 +231,7 @@ EXAMPLES
202231 $ csdx app:uninstall --org <UID> --app-uid <APP-UID-1> --installation-uid <INSTALLATION-UID-1>
203232```
204233
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 ) _
206235
207236## ` csdx app:update `
208237
@@ -214,7 +243,7 @@ USAGE
214243
215244FLAGS
216245 --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.
218247
219248DESCRIPTION
220249 Update the existing app in developer hub
@@ -225,5 +254,5 @@ EXAMPLES
225254 $ csdx app:update --app-manifest ./boilerplate/manifest.json
226255```
227256
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 ) _
229258<!-- commandsstop -->
0 commit comments