Skip to content

Commit 9ef8e96

Browse files
Merge pull request #101 from contentstack/staging
DX | 08-06-2024 | Hotfix
2 parents edf5aad + 6daf62b commit 9ef8e96

File tree

8 files changed

+12873
-8180
lines changed

8 files changed

+12873
-8180
lines changed

README.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,39 +11,48 @@ and rectify them.
1111
[![License](https://img.shields.io/npm/l/cli-cm-regex-validate.svg)](https://github.com/contentstack/cli-cm-regex-validate/blob/master/package.json)
1212

1313
<!-- toc -->
14-
* [Regex Validation CLI Plugin](#regex-validation-cli-plugin)
15-
* [Usage](#usage)
16-
* [Commands](#commands)
14+
15+
- [Regex Validation CLI Plugin](#regex-validation-cli-plugin)
16+
- [Usage](#usage)
17+
- [Commands](#commands)
1718
<!-- tocstop -->
1819

1920
# Usage
2021

2122
<!-- usage-no-overwrite -->
23+
2224
#### Step 1:
25+
2326
```sh-session
2427
$ npm install -g @contentstack/cli
2528

26-
$ csdx plugins:install https://github.com/contentstack/cli-cm-regex-validate/releases/download/v1.2.0/contentstack-cli-cm-regex-validate-1.2.0.tgz
29+
$ csdx plugins:install https://github.com/contentstack/cli-cm-regex-validate/releases/download/v1.2.1/contentstack-cli-cm-regex-validate-1.2.1.tgz
2730

2831
$ csdx plugins
2932
running command...
30-
@contentstack/cli-cm-regex-validate/1.2.0 darwin-arm64 node-v20.8.0
33+
@contentstack/cli-cm-regex-validate/1.2.1 darwin-arm64 node-v20.8.0
3134

3235
$ csdx --help [COMMAND]
3336
USAGE
3437
$ csdx COMMAND
3538
...
3639
```
40+
3741
#### Step 2:
42+
3843
[Set the region](https://www.contentstack.com/docs/developers/cli/configure-regions-in-the-cli#set-region)
44+
3945
<!-- usagestop-overwrite -->
4046

4147
#### Step 3:
48+
4249
[Configured management token alias](https://www.contentstack.com/docs/developers/cli/cli-authentication#add-management-token)
50+
4351
# Commands
4452

4553
<!-- commands -->
46-
* [`csdx cm:stacks:validate-regex`](#csdx-cmstacksvalidate-regex)
54+
55+
- [`csdx cm:stacks:validate-regex`](#csdx-cmstacksvalidate-regex)
4756

4857
## `csdx cm:stacks:validate-regex`
4958

@@ -80,5 +89,6 @@ EXAMPLES
8089
$ csdx cm:stacks:validate-regex -a <management_token_alias> -c -g -f <path/to/the/directory>
8190
```
8291

83-
_See code: [src/commands/cm/stacks/validate-regex.ts](https://github.com/contentstack/cli-cm-regex-validate/blob/v1.2.0/src/commands/cm/stacks/validate-regex.ts)_
92+
_See code: [src/commands/cm/stacks/validate-regex.ts](https://github.com/contentstack/cli-cm-regex-validate/blob/v1.2.1/src/commands/cm/stacks/validate-regex.ts)_
93+
8494
<!-- commandsstop -->

bin/run

Lines changed: 0 additions & 6 deletions
This file was deleted.

bin/run.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env node
2+
// eslint-disable-next-line unicorn/prefer-top-level-await
3+
(async () => {
4+
const oclif = await import('@oclif/core')
5+
await oclif.execute({development: false, dir: __dirname})
6+
})()

0 commit comments

Comments
 (0)