@@ -8,65 +8,66 @@ 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-
12- - [ Usage] ( #usage )
13- - [ Commands] ( #commands )
11+ * [ cli-cm-regex-validate ] ( #cli-cm-regex-validate )
12+ * [ Usage] ( #usage )
13+ * [ Commands] ( #commands )
1414<!-- tocstop -->
1515
1616# Usage
1717
1818<!-- usage -->
19-
2019``` sh-session
21- $ npm install -g @contentstack/cli
22- $ csdx plugins:install @contentstack/cli-cm-regex-validate
20+ $ npm install -g @contentstack/cli-cm-regex-validate
2321$ csdx COMMAND
2422running command...
25- $ csdx (-v | --version | version)
26- @contentstack/cli-cm-regex-validate/1.0.2 darwin-x64 node-v16.17 .0
23+ $ csdx (-- version)
24+ @contentstack/cli-cm-regex-validate/1.1.4 darwin-arm64 node-v16.19 .0
2725$ csdx --help [COMMAND]
2826USAGE
2927 $ csdx COMMAND
3028...
3129```
32-
3330<!-- usagestop -->
3431
3532# Commands
3633
3734<!-- commands -->
38-
39- - [ ` csdx cm:stacks:validate-regex ` ] ( #csdx-cmstacksvalidate-regex )
35+ * [ ` csdx cm:stacks:validate-regex ` ] ( #csdx-cmstacksvalidate-regex )
4036
4137## ` csdx cm:stacks:validate-regex `
4238
4339This command is used to find all the invalid regexes present in the content types and global fields of your stack.
4440
4541```
4642USAGE
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.
43+ $ csdx cm:stacks:validate-regex [-h] [-a <value>] [-c] [-g] [-f <value>]
5544
56- -g, --globalField To find invalid regexes within the global fields
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
5752
58- -h, --help To show the flags that can be used with this CLI command
53+ DESCRIPTION
54+ This command is used to find all the invalid regexes present in the content types and global fields of your stack.
5955
6056EXAMPLES
6157 $ csdx cm:stacks:validate-regex
58+
6259 $ csdx cm:stacks:validate-regex -a <management_token_alias>
60+
6361 $ csdx cm:stacks:validate-regex -c
62+
6463 $ csdx cm:stacks:validate-regex -g
64+
6565 $ csdx cm:stacks:validate-regex -f <path/to/the/directory>
66+
6667 $ csdx cm:stacks:validate-regex -a <management_token_alias> -c -g
68+
6769 $ csdx cm:stacks:validate-regex -a <management_token_alias> -c -g -f <path/to/the/directory>
6870```
6971
70- _ See code: [ src/commands/cm/stacks/validate-regex.ts] ( https://github.com/contentstack/cli-cm-regex-validate/blob/v1.0.2/src/commands/cm/stacks/validate-regex.ts ) _
71-
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 ) _
7273<!-- commandsstop -->
0 commit comments