From 8eba9b794d34581a70e927b120ad82f004c2f2ee Mon Sep 17 00:00:00 2001 From: Aman Kumar Date: Wed, 19 Jun 2024 16:33:10 +0530 Subject: [PATCH] fix: launch project query, removed duplicate yes flag & updated readme file --- README.md | 43 +++++++++++++++++++------------------- src/commands/app/deploy.ts | 7 +------ src/util/common-utils.ts | 9 +++----- 3 files changed, 26 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index 2c675e8..a169881 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ $ npm install -g @contentstack/apps-cli $ csdx COMMAND running command... $ csdx (--version|-v) -@contentstack/apps-cli/1.1.1 darwin-arm64 node-v18.20.2 +@contentstack/apps-cli/1.2.0 darwin-arm64 node-v18.20.2 $ csdx --help [COMMAND] USAGE $ csdx COMMAND @@ -67,7 +67,7 @@ EXAMPLES $ csdx app:reinstall ``` -_See code: [src/commands/app/index.ts](https://github.com/contentstack/apps-cli/blob/v1.1.1/src/commands/app/index.ts)_ +_See code: [src/commands/app/index.ts](https://github.com/contentstack/apps-cli/blob/v1.2.0/src/commands/app/index.ts)_ ## `csdx app:create` @@ -97,7 +97,7 @@ EXAMPLES $ csdx app:create --name App-3 --app-type organization --org -d ./boilerplate -c ./external-config.json ``` -_See code: [src/commands/app/create.ts](https://github.com/contentstack/apps-cli/blob/v1.1.1/src/commands/app/create.ts)_ +_See code: [src/commands/app/create.ts](https://github.com/contentstack/apps-cli/blob/v1.2.0/src/commands/app/create.ts)_ ## `csdx app:delete` @@ -121,7 +121,7 @@ EXAMPLES $ csdx app:delete --app-uid --org -d ./boilerplate ``` -_See code: [src/commands/app/delete.ts](https://github.com/contentstack/apps-cli/blob/v1.1.1/src/commands/app/delete.ts)_ +_See code: [src/commands/app/delete.ts](https://github.com/contentstack/apps-cli/blob/v1.2.0/src/commands/app/delete.ts)_ ## `csdx app:deploy` @@ -129,17 +129,16 @@ Deploy an app ``` USAGE - $ csdx app:deploy [--app-uid ] [--hosting-type ] [--app-url ] [-y] [--launch-project-type - existing-project|new-project] [-c ] + $ csdx app:deploy [--app-uid ] [--hosting-type ] [--app-url ] [--launch-project + existing|new] [-c ] FLAGS - -c, --config= [optional] path of config file - -y, --yes Force disconnect launch project by skipping the confirmation - --app-uid= Provide the app UID of an existing app. - --app-url= App URL - --hosting-type= Hosting Type - --launch-project-type=