Skip to content

Commit ecc2096

Browse files
authored
Merge pull request #7069 from Shopify/dlm-json-force-no-color
--json -j should not use color
2 parents 780ff15 + 28a0c2a commit ecc2096

20 files changed

Lines changed: 159 additions & 61 deletions
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// This is an autogenerated file. Don't edit this file manually.
2+
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs'
3+
4+
const data: ReferenceEntityTemplateSchema = {
5+
name: 'app config validate',
6+
description: `Validates the selected app configuration file and all extension configurations against their schemas and reports any errors found.`,
7+
overviewPreviewDescription: `Validate your app configuration and extensions.`,
8+
type: 'command',
9+
isVisualComponent: false,
10+
defaultExample: {
11+
codeblock: {
12+
tabs: [
13+
{
14+
title: 'app config validate',
15+
code: './examples/app-config-validate.example.sh',
16+
language: 'bash',
17+
},
18+
],
19+
title: 'app config validate',
20+
},
21+
},
22+
definitions: [
23+
{
24+
title: 'Flags',
25+
description: 'The following flags are available for the `app config validate` command:',
26+
type: 'appconfigvalidate',
27+
},
28+
],
29+
category: 'app',
30+
related: [
31+
],
32+
}
33+
34+
export default data
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
shopify app config validate [flags]
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// This is an autogenerated file. Don't edit this file manually.
2+
export interface appconfigvalidate {
3+
/**
4+
* The Client ID of your app.
5+
* @environment SHOPIFY_FLAG_CLIENT_ID
6+
*/
7+
'--client-id <value>'?: string
8+
9+
/**
10+
* The name of the app configuration.
11+
* @environment SHOPIFY_FLAG_APP_CONFIG
12+
*/
13+
'-c, --config <value>'?: string
14+
15+
/**
16+
* Disable color output.
17+
* @environment SHOPIFY_FLAG_NO_COLOR
18+
*/
19+
'--no-color'?: ''
20+
21+
/**
22+
* The path to your app directory.
23+
* @environment SHOPIFY_FLAG_PATH
24+
*/
25+
'--path <value>'?: string
26+
27+
/**
28+
* Reset all your settings.
29+
* @environment SHOPIFY_FLAG_RESET
30+
*/
31+
'--reset'?: ''
32+
33+
/**
34+
* Increase the verbosity of the output.
35+
* @environment SHOPIFY_FLAG_VERBOSE
36+
*/
37+
'--verbose'?: ''
38+
}

docs-shopify.dev/commands/interfaces/app-function-info.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface appfunctioninfo {
1313
'-c, --config <value>'?: string
1414

1515
/**
16-
* Output the result as JSON.
16+
* Output the result as JSON. Automatically disables color output.
1717
* @environment SHOPIFY_FLAG_JSON
1818
*/
1919
'-j, --json'?: ''

docs-shopify.dev/commands/interfaces/app-function-replay.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface appfunctionreplay {
1313
'-c, --config <value>'?: string
1414

1515
/**
16-
* Output the result as JSON.
16+
* Output the result as JSON. Automatically disables color output.
1717
* @environment SHOPIFY_FLAG_JSON
1818
*/
1919
'-j, --json'?: ''

docs-shopify.dev/commands/interfaces/app-function-run.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface appfunctionrun {
2525
'-i, --input <value>'?: string
2626

2727
/**
28-
* Output the result as JSON.
28+
* Output the result as JSON. Automatically disables color output.
2929
* @environment SHOPIFY_FLAG_JSON
3030
*/
3131
'-j, --json'?: ''

docs-shopify.dev/commands/interfaces/app-info.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface appinfo {
1313
'-c, --config <value>'?: string
1414

1515
/**
16-
* Output the result as JSON.
16+
* Output the result as JSON. Automatically disables color output.
1717
* @environment SHOPIFY_FLAG_JSON
1818
*/
1919
'-j, --json'?: ''

docs-shopify.dev/commands/interfaces/app-logs.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface applogs {
1313
'-c, --config <value>'?: string
1414

1515
/**
16-
* Output the result as JSON.
16+
* Output the result as JSON. Automatically disables color output.
1717
* @environment SHOPIFY_FLAG_JSON
1818
*/
1919
'-j, --json'?: ''

docs-shopify.dev/commands/interfaces/app-versions-list.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface appversionslist {
1313
'-c, --config <value>'?: string
1414

1515
/**
16-
* Output the result as JSON.
16+
* Output the result as JSON. Automatically disables color output.
1717
* @environment SHOPIFY_FLAG_JSON
1818
*/
1919
'-j, --json'?: ''

docs-shopify.dev/commands/interfaces/organization-list.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This is an autogenerated file. Don't edit this file manually.
22
export interface organizationlist {
33
/**
4-
* Output the result as JSON.
4+
* Output the result as JSON. Automatically disables color output.
55
* @environment SHOPIFY_FLAG_JSON
66
*/
77
'-j, --json'?: ''

0 commit comments

Comments
 (0)