Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dx | 1459 unit test cases (oclif v4) #328

Merged
merged 26 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
ab35e3b
Migrated oclif/test v2 to v4
sunil-lakshman Sep 9, 2024
e5c9329
revered changes
sunil-lakshman Sep 10, 2024
b237191
Removed unused manifest files
sunil-lakshman Sep 17, 2024
4267369
Merge branch 'development' into dx-1120-merge-conflicts
harshithad0703 Sep 23, 2024
68c95d7
Merge pull request #317 from contentstack/dx-1120-merge-conflicts
harshithad0703 Sep 23, 2024
8e575a1
update create test suit
harshithad0703 Sep 23, 2024
5116aa1
update deploy, create, delete (1 test in each is failing)
harshithad0703 Sep 25, 2024
d7e83b2
update hosting types with to custom-hosting and hosting-with-launch
harshithad0703 Sep 26, 2024
d87a027
update get test suit
harshithad0703 Sep 26, 2024
ad59519
updated install test suits
harshithad0703 Sep 26, 2024
cfb9afd
updated reinstall test suit
harshithad0703 Sep 26, 2024
28065eb
updated uninstall test cases
harshithad0703 Sep 26, 2024
861be68
code refactor for test cases
harshithad0703 Sep 27, 2024
affbff1
refactor create and delete suits
harshithad0703 Sep 27, 2024
2ebdf09
updated common utils test suit
harshithad0703 Sep 27, 2024
efbd52c
update inquirer test and removed unwanted manifest files
harshithad0703 Sep 30, 2024
5750f66
update test suit passing
harshithad0703 Sep 30, 2024
ef0f39b
updated manifest file
harshithad0703 Sep 30, 2024
b844eb2
updated get test suit
harshithad0703 Sep 30, 2024
4a1e998
updated delete test suit
harshithad0703 Sep 30, 2024
aa31014
updated inquirer test case
harshithad0703 Sep 30, 2024
869a355
removed unwanted afterEach from test suits
harshithad0703 Sep 30, 2024
01e3c02
remove manifest10
harshithad0703 Sep 30, 2024
8eb45b4
updated package-lock file
harshithad0703 Sep 30, 2024
80791b2
updated cli packages
harshithad0703 Sep 30, 2024
18816f7
skipped the a line in expected part at the url depends on the region
harshithad0703 Sep 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading