@@ -8,66 +8,65 @@ Validate Fields with Regex Property of Content Type and Global Field in a Stack
88[ ![ License] ( https://img.shields.io/npm/l/cli-cm-regex-validate.svg )] ( https://github.com/contentstack/cli-cm-regex-validate/blob/master/package.json )
99
1010<!-- toc -->
11- * [ cli-cm-regex-validate ] ( #cli-cm-regex-validate )
12- * [ Usage] ( #usage )
13- * [ Commands] ( #commands )
11+
12+ - [ Usage] ( #usage )
13+ - [ Commands] ( #commands )
1414<!-- tocstop -->
1515
1616# Usage
1717
1818<!-- usage -->
19+
1920``` sh-session
20- $ npm install -g @contentstack/cli-cm-regex-validate
21+ $ npm install -g @contentstack/cli
22+ $ csdx plugins:install @contentstack/cli-cm-regex-validate
2123$ csdx COMMAND
2224running command...
23- $ csdx (-- version)
24- @contentstack/cli-cm-regex-validate/1.1.4 darwin-arm64 node-v16.19 .0
25+ $ csdx (-v | --version | version)
26+ @contentstack/cli-cm-regex-validate/1.1.5 darwin-x64 node-v16.17 .0
2527$ csdx --help [COMMAND]
2628USAGE
2729 $ csdx COMMAND
2830...
2931```
32+
3033<!-- usagestop -->
3134
3235# Commands
3336
3437<!-- commands -->
35- * [ ` csdx cm:stacks:validate-regex ` ] ( #csdx-cmstacksvalidate-regex )
38+
39+ - [ ` csdx cm:stacks:validate-regex ` ] ( #csdx-cmstacksvalidate-regex )
3640
3741## ` csdx cm:stacks:validate-regex `
3842
3943This command is used to find all the invalid regexes present in the content types and global fields of your stack.
4044
4145```
4246USAGE
43- $ csdx cm:stacks:validate-regex [-h] [-a <value>] [-c] [-g] [-f <value>]
47+ $ csdx cm:stacks:validate-regex
48+
49+ OPTIONS
50+ -a, --alias=alias Alias (name) assigned to the management token
51+ -c, --contentType To find invalid regexes within the content types
52+
53+ -f, --filePath=filePath [optional] The path or the location in your file system where the CSV output file should be
54+ stored.
4455
45- FLAGS
46- -a, --alias=<value> Alias (name) assigned to the management token
47- -c, --contentType To find invalid regexes within the content types
48- -f, --filePath=<value> [optional] The path or the location in your file system where the CSV output file should be
49- stored.
50- -g, --globalField To find invalid regexes within the global fields
51- -h, --help To show the flags that can be used with this CLI command
56+ -g, --globalField To find invalid regexes within the global fields
5257
53- DESCRIPTION
54- This command is used to find all the invalid regexes present in the content types and global fields of your stack.
58+ -h, --help To show the flags that can be used with this CLI command
5559
5660EXAMPLES
5761 $ csdx cm:stacks:validate-regex
58-
5962 $ csdx cm:stacks:validate-regex -a <management_token_alias>
60-
6163 $ csdx cm:stacks:validate-regex -c
62-
6364 $ csdx cm:stacks:validate-regex -g
64-
6565 $ csdx cm:stacks:validate-regex -f <path/to/the/directory>
66-
6766 $ csdx cm:stacks:validate-regex -a <management_token_alias> -c -g
68-
6967 $ csdx cm:stacks:validate-regex -a <management_token_alias> -c -g -f <path/to/the/directory>
7068```
7169
72- _ See code: [ src/commands/cm/stacks/validate-regex.ts] ( https://github.com/contentstack/cli-cm-regex-validate/blob/v1.1.4/src/commands/cm/stacks/validate-regex.ts ) _
70+ _ See code: [ src/commands/cm/stacks/validate-regex.ts] ( https://github.com/contentstack/cli-cm-regex-validate/blob/v1.1.5/src/commands/cm/stacks/validate-regex.ts ) _
71+
7372<!-- commandsstop -->
0 commit comments