Skip to content

Commit

Permalink
Merge pull request #328 from contentstack/fix/dx-1459-unit-test-cases
Browse files Browse the repository at this point in the history
dx | 1459 unit test cases (oclif v4)
  • Loading branch information
harshithad0703 authored Oct 1, 2024
2 parents df28682 + 18816f7 commit 171a180
Show file tree
Hide file tree
Showing 16 changed files with 1,662 additions and 1,824 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $ npm install -g @contentstack/apps-cli
$ csdx COMMAND
running command...
$ csdx (--version|-v)
@contentstack/apps-cli/1.3.4 darwin-arm64 node-v18.12.1
@contentstack/apps-cli/1.3.4 darwin-arm64 node-v22.2.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down Expand Up @@ -142,15 +142,15 @@ Deploy an app

```
USAGE
$ csdx app:deploy [--app-uid <value>] [--hosting-type Hosting with Launch|Custom Hosting] [--app-url <value>]
$ csdx app:deploy [--app-uid <value>] [--hosting-type hosting-with-launch|custom-hosting] [--app-url <value>]
[--launch-project existing|new] [-c <value>] [--org <value>]
FLAGS
-c, --config=<value> [optional] Please enter the path of the config file.
--app-uid=<value> Provide the app UID of an existing app.
--app-url=<value> Please enter the URL of the app you want to deploy.
--hosting-type=<option> Choose a valid Hosting Type.
<options: Hosting with Launch|Custom Hosting>
<options: hosting-with-launch|custom-hosting>
--launch-project=<option> Choose a new or an existing Launch project.
<options: existing|new>
--org=<value> Provide the organization UID to fetch the app details for the operation.
Expand All @@ -163,13 +163,13 @@ EXAMPLES
$ csdx app:deploy --org <UID> --app-uid <APP-UID-1>
$ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <Custom Hosting> --app-url <https://localhost:3000>
$ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <custom-hosting> --app-url <https://localhost:3000>
$ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <Hosting with Launch> --launch-project <existing>
$ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <hosting-with-launch> --launch-project <existing>
$ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <Hosting with Launch> --launch-project <new>
$ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <hosting-with-launch> --launch-project <new>
$ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <Hosting with Launch> --launch-project <new> --config <config-path>
$ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <hosting-with-launch> --launch-project <new> --config <config-path>
```

_See code: [src/commands/app/deploy.ts](https://github.com/contentstack/apps-cli/blob/v1.3.4/src/commands/app/deploy.ts)_
Expand Down
Loading

0 comments on commit 171a180

Please sign in to comment.