Skip to content

Commit

Permalink
Merge pull request #101 from contentstack/staging
Browse files Browse the repository at this point in the history
DX | 08-06-2024 | Hotfix
  • Loading branch information
harshithad0703 authored Jun 7, 2024
2 parents edf5aad + 6daf62b commit 9ef8e96
Show file tree
Hide file tree
Showing 8 changed files with 12,873 additions and 8,180 deletions.
24 changes: 17 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,39 +11,48 @@ and rectify them.
[![License](https://img.shields.io/npm/l/cli-cm-regex-validate.svg)](https://github.com/contentstack/cli-cm-regex-validate/blob/master/package.json)

<!-- toc -->
* [Regex Validation CLI Plugin](#regex-validation-cli-plugin)
* [Usage](#usage)
* [Commands](#commands)

- [Regex Validation CLI Plugin](#regex-validation-cli-plugin)
- [Usage](#usage)
- [Commands](#commands)
<!-- tocstop -->

# Usage

<!-- usage-no-overwrite -->

#### Step 1:

```sh-session
$ npm install -g @contentstack/cli

$ 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
$ 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

$ csdx plugins
running command...
@contentstack/cli-cm-regex-validate/1.2.0 darwin-arm64 node-v20.8.0
@contentstack/cli-cm-regex-validate/1.2.1 darwin-arm64 node-v20.8.0

$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
...
```

#### Step 2:

[Set the region](https://www.contentstack.com/docs/developers/cli/configure-regions-in-the-cli#set-region)

<!-- usagestop-overwrite -->

#### Step 3:

[Configured management token alias](https://www.contentstack.com/docs/developers/cli/cli-authentication#add-management-token)

# Commands

<!-- commands -->
* [`csdx cm:stacks:validate-regex`](#csdx-cmstacksvalidate-regex)

- [`csdx cm:stacks:validate-regex`](#csdx-cmstacksvalidate-regex)

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

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

_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)_
_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)_

<!-- commandsstop -->
6 changes: 0 additions & 6 deletions bin/run

This file was deleted.

6 changes: 6 additions & 0 deletions bin/run.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env node
// eslint-disable-next-line unicorn/prefer-top-level-await
(async () => {
const oclif = await import('@oclif/core')
await oclif.execute({development: false, dir: __dirname})
})()
Loading

0 comments on commit 9ef8e96

Please sign in to comment.