|
1 | 1 | {
|
2 |
| - "validateRegex": { |
3 |
| - "command":{ |
4 |
| - "description": "This command is used to find all the invalid regexes present in the content types and global fields of your stack.", |
5 |
| - "alias": "Alias (name) assigned to the management token", |
6 |
| - "contentTypes": "To find invalid regexes within the content types", |
7 |
| - "globalFields": "To find invalid regexes within the global fields", |
8 |
| - "filePath": "[optional] The path or the location in your file system where the CSV output file should be stored.", |
9 |
| - "help": "To show the flags that can be used with this CLI command", |
10 |
| - "login": "https://www.contentstack.com/docs/developers/cli/authenticate-with-the-cli/#login", |
11 |
| - "addManagementToken": "https://www.contentstack.com/docs/developers/cli/authenticate-with-the-cli/#add-management-token" |
12 |
| - }, |
13 |
| - "interactive": { |
14 |
| - "requireToken": "Enter management token alias:", |
15 |
| - "required": "Required.", |
16 |
| - "selectSchema": "Select the module you need to check.", |
17 |
| - "selectOne": "Select at least one option." |
18 |
| - }, |
19 |
| - "cliAction": { |
20 |
| - "connectStackStart": "Connecting stack", |
21 |
| - "connectStackStop": "Stack connection established. Time taken: ", |
22 |
| - "processStackStart": "Processing stack", |
23 |
| - "processStackStop": "Stack processing completed. Time taken: " |
24 |
| - }, |
25 |
| - "errors": { |
26 |
| - "login": "Could not log in as authorization failed. Log in using csdx auth:login", |
27 |
| - "tokenNotFound": "Token not found. Add a token using csdx auth:tokens:add", |
28 |
| - "stack": { |
29 |
| - "fetch": "Error in connecting to the stack. Please try again.", |
30 |
| - "apiKey": "Invalid stack API Key provided.", |
31 |
| - "contentTypes": "Error in querying content types.", |
32 |
| - "globalFields": "Error in querying global fields." |
33 |
| - }, |
34 |
| - "csvOutput": "Failed to generate CSV output." |
35 |
| - }, |
36 |
| - "output":{ |
37 |
| - "tableOutput": "The following table shows the invalid regexes present in your stack.", |
38 |
| - "csvOutput": "CSV output stored successfully at:", |
39 |
| - "noInvalidRegex": "There are no invalid regexes in your stack.", |
40 |
| - "docsLink": "To know more, visit our documentation site on catastrophic-backtracking: https://www.contentstack.com/docs/developers/create-content-types/validation-regex/#prevent-catastrophic-backtracking" |
41 |
| - } |
| 2 | + "validateRegex": { |
| 3 | + "command": { |
| 4 | + "description": "This command is used to find all the invalid regexes present in the content types and global fields of your stack.", |
| 5 | + "alias": "Alias (name) assigned to the management token", |
| 6 | + "contentTypes": "To find invalid regexes within the content types", |
| 7 | + "globalFields": "To find invalid regexes within the global fields", |
| 8 | + "filePath": "[optional] The path or the location in your file system where the CSV output file should be stored.", |
| 9 | + "help": "To show the flags that can be used with this CLI command", |
| 10 | + "login": "https://www.contentstack.com/docs/developers/cli/cli-authentication/#login", |
| 11 | + "addManagementToken": "https://www.contentstack.com/docs/developers/cli/cli-authentication/#add-management-token" |
| 12 | + }, |
| 13 | + "interactive": { |
| 14 | + "requireToken": "Enter management token alias:", |
| 15 | + "required": "Required.", |
| 16 | + "selectSchema": "Select the module you need to check.", |
| 17 | + "selectOne": "Select at least one option." |
| 18 | + }, |
| 19 | + "cliAction": { |
| 20 | + "connectStackStart": "Connecting stack", |
| 21 | + "connectStackStop": "Stack connection established. Time taken: ", |
| 22 | + "processStackStart": "Processing stack", |
| 23 | + "processStackStop": "Stack processing completed. Time taken: " |
| 24 | + }, |
| 25 | + "errors": { |
| 26 | + "login": "Could not log in as authorization failed. Log in using csdx auth:login", |
| 27 | + "tokenNotFound": "Token not found. Add a token using csdx auth:tokens:add", |
| 28 | + "stack": { |
| 29 | + "fetch": "Error in connecting to the stack. Please try again.", |
| 30 | + "apiKey": "Invalid stack API Key provided.", |
| 31 | + "contentTypes": "Error in querying content types.", |
| 32 | + "globalFields": "Error in querying global fields." |
| 33 | + }, |
| 34 | + "csvOutput": "Failed to generate CSV output." |
| 35 | + }, |
| 36 | + "output": { |
| 37 | + "tableOutput": "The following table shows the invalid regexes present in your stack.", |
| 38 | + "csvOutput": "CSV output stored successfully at:", |
| 39 | + "noInvalidRegex": "There are no invalid regexes in your stack.", |
| 40 | + "docsLink": "To know more, visit our documentation site on catastrophic-backtracking: https://www.contentstack.com/docs/developers/create-content-types/validation-regex/#prevent-catastrophic-backtracking" |
42 | 41 | }
|
| 42 | + } |
43 | 43 | }
|
0 commit comments