@shopify/cli 3.53.1 → 3.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ class CommandFlags extends Command {
5
5
  async run() {
6
6
  const { flags } = await this.parse(CommandFlags);
7
7
  const data = [];
8
- for (const plugin of this.config.plugins) {
8
+ for (const [_, plugin] of this.config.plugins) {
9
9
  for (const command of plugin.commands) {
10
10
  // We have to load the command, otherwise OCLIF will just use the manifest, and we need the actual class
11
11
  // eslint-disable-next-line no-await-in-loop
@@ -1 +1 @@
1
- {"version":3,"file":"command-flags.js","sourceRoot":"","sources":["../../../../src/cli/commands/debug/command-flags.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,oCAAoC,CAAA;AACxD,OAAO,EAAC,WAAW,EAAE,UAAU,EAAC,MAAM,0BAA0B,CAAA;AAChE,OAAO,EAAC,KAAK,EAAC,MAAM,aAAa,CAAA;AAEjC,MAAqB,YAAa,SAAQ,OAAO;IAa/C,KAAK,CAAC,GAAG;QACP,MAAM,EAAC,KAAK,EAAC,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAA;QAE9C,MAAM,IAAI,GAAkG,EAAE,CAAA;QAC9G,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE;YACxC,KAAK,MAAM,OAAO,IAAI,MAAM,CAAC,QAAQ,EAAE;gBACrC,wGAAwG;gBACxG,4CAA4C;gBAC5C,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,IAAI,EAAE,CAAA;gBAEnC,IAAI,UAAU,CAAA;gBACd,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE;oBACtC,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;iBACvD;qBAAM;oBACL,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,UA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IAAI;gBACV,OAAO,EAAE;oBACP,UAAU,EAAE;wBACV,MAAM,EAAE,QAAQ;wBAChB,KAAK,EAAE,KAAK;qBACb;oBACD,OAAO,EAAE,EAAE;oBACX,QAAQ,EAAE;wBACR,MAAM,EAAE,WAAW;wBACnB,KAAK,EAAE,OAAO;qBACf;oBACD,QAAQ,EAAE;wBACR,MAAM,EAAE,YAAY;wBACpB,KAAK,EAAE,OAAO;qBACf;oBACD,OAAO,EAAE;wBACP,MAAM,EAAE,cAAc;wBACtB,KAAK,EAAE,YAAY;qBACpB;iBACF;aACF,CAAC,CAAA;SACH;IACH,CAAC;;AA1EM,wBAAW,GAAG,sCAAsC,CAAA;AACpD,mBAAM,GAAG,IAAI,CAAA;AAEb,kBAAK,GAAG;IACb,mEAAmE;IACnE,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC;QACjB,WAAW,EAAE,eAAe;QAC5B,GAAG,EAAE,yBAAyB;QAC9B,OAAO,EAAE,KAAK;KACf,CAAC;CACH,CAAA;eAXkB,YAAY","sourcesContent":["import Command from '@shopify/cli-kit/node/base-command'\nimport {renderTable, renderText} from '@shopify/cli-kit/node/ui'\nimport {Flags} from '@oclif/core'\n\nexport default class CommandFlags extends Command {\n static description = 'View all the available command flags'\n static hidden = true\n\n static flags = {\n // Similar options as the `commands` command from `plugin-commands`\n csv: Flags.boolean({\n description: 'Output as CSV',\n env: 'SHOPIFY_FLAG_OUTPUT_CSV',\n default: false,\n }),\n }\n\n async run(): Promise<void> {\n const {flags} = await this.parse(CommandFlags)\n\n const data: {pluginName: string; command: string; flagName: string; flagChar: string; flagEnv?: string}[] = []\n for (const plugin of this.config.plugins) {\n for (const command of plugin.commands) {\n // We have to load the command, otherwise OCLIF will just use the manifest, and we need the actual class\n // eslint-disable-next-line no-await-in-loop\n const loaded = await command.load()\n\n let pluginName\n if (plugin.name.startsWith('@shopify')) {\n pluginName = plugin.name.substring('@shopify/'.length)\n } else {\n pluginName = plugin.name.startsWith('@oclif') ? plugin.name.substring('@oclif/'.length) : plugin.name\n }\n\n const flags = loaded.flags\n if (flags) {\n for (const [flagName, flagConfig] of Object.entries(flags)) {\n data.push({\n pluginName,\n command: command.id,\n flagName: `--${flagName}`,\n flagChar: flagConfig.char ? `-${flagConfig.char}` : '',\n flagEnv: flagConfig.env,\n })\n }\n }\n }\n }\n\n if (flags.csv) {\n const columns = ['pluginName', 'command', 'flagName', 'flagChar', 'flagEnv'] as const\n const header = `${columns.join(',')}\\n`\n const rows = data.map((obj) => columns.map((key) => obj[key]).join(',')).join('\\n')\n const csvString = header + rows\n renderText({text: csvString})\n } else {\n renderTable({\n rows: data,\n columns: {\n pluginName: {\n header: 'plugin',\n color: 'red',\n },\n command: {},\n flagName: {\n header: 'long flag',\n color: 'green',\n },\n flagChar: {\n header: 'short flag',\n color: 'green',\n },\n flagEnv: {\n header: 'env variable',\n color: 'blueBright',\n },\n },\n })\n }\n }\n}\n"]}
1
+ {"version":3,"file":"command-flags.js","sourceRoot":"","sources":["../../../../src/cli/commands/debug/command-flags.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,oCAAoC,CAAA;AACxD,OAAO,EAAC,WAAW,EAAE,UAAU,EAAC,MAAM,0BAA0B,CAAA;AAChE,OAAO,EAAC,KAAK,EAAC,MAAM,aAAa,CAAA;AAEjC,MAAqB,YAAa,SAAQ,OAAO;IAa/C,KAAK,CAAC,GAAG;QACP,MAAM,EAAC,KAAK,EAAC,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAA;QAE9C,MAAM,IAAI,GAAkG,EAAE,CAAA;QAC9G,KAAK,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE;YAC7C,KAAK,MAAM,OAAO,IAAI,MAAM,CAAC,QAAQ,EAAE;gBACrC,wGAAwG;gBACxG,4CAA4C;gBAC5C,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,IAAI,EAAE,CAAA;gB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AAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;YACnF,MAAM,SAAS,GAAG,MAAM,GAAG,IAAI,CAAA;YAC/B,UAAU,CAAC,EAAC,IAAI,EAAE,SAAS,EAAC,CAAC,CAAA;SAC9B;aAAM;YACL,WAAW,CAAC;gBACV,IAAI,EAAE,IAAI;gBACV,OAAO,EAAE;oBACP,UAAU,EAAE;wBACV,MAAM,EAAE,QAAQ;wBAChB,KAAK,EAAE,KAAK;qBACb;oBACD,OAAO,EAAE,EAAE;oBACX,QAAQ,EAAE;wBACR,MAAM,EAAE,WAAW;wBACnB,KAAK,EAAE,OAAO;qBACf;oBACD,QAAQ,EAAE;wBACR,MAAM,EAAE,YAAY;wBACpB,KAAK,EAAE,OAAO;qBACf;oBACD,OAAO,EAAE;wBACP,MAAM,EAAE,cAAc;wBACtB,KAAK,EAAE,YAAY;qBACpB;iBACF;aACF,CAAC,CAAA;SACH;IACH,CAAC;;AA1EM,wBAAW,GAAG,sCAAsC,CAAA;AACpD,mBAAM,GAAG,IAAI,CAAA;AAEb,kBAAK,GAAG;IACb,mEAAmE;IACnE,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC;QACjB,WAAW,EAAE,eAAe;QAC5B,GAAG,EAAE,yBAAyB;QAC9B,OAAO,EAAE,KAAK;KACf,CAAC;CACH,CAAA;eAXkB,YAAY","sourcesContent":["import Command from '@shopify/cli-kit/node/base-command'\nimport {renderTable, renderText} from '@shopify/cli-kit/node/ui'\nimport {Flags} from '@oclif/core'\n\nexport default class CommandFlags extends Command {\n static description = 'View all the available command flags'\n static hidden = true\n\n static flags = {\n // Similar options as the `commands` command from `plugin-commands`\n csv: Flags.boolean({\n description: 'Output as CSV',\n env: 'SHOPIFY_FLAG_OUTPUT_CSV',\n default: false,\n }),\n }\n\n async run(): Promise<void> {\n const {flags} = await this.parse(CommandFlags)\n\n const data: {pluginName: string; command: string; flagName: string; flagChar: string; flagEnv?: string}[] = []\n for (const [_, plugin] of this.config.plugins) {\n for (const command of plugin.commands) {\n // We have to load the command, otherwise OCLIF will just use the manifest, and we need the actual class\n // eslint-disable-next-line no-await-in-loop\n const loaded = await command.load()\n\n let pluginName\n if (plugin.name.startsWith('@shopify')) {\n pluginName = plugin.name.substring('@shopify/'.length)\n } else {\n pluginName = plugin.name.startsWith('@oclif') ? plugin.name.substring('@oclif/'.length) : plugin.name\n }\n\n const flags = loaded.flags\n if (flags) {\n for (const [flagName, flagConfig] of Object.entries(flags)) {\n data.push({\n pluginName,\n command: command.id,\n flagName: `--${flagName}`,\n flagChar: flagConfig.char ? `-${flagConfig.char}` : '',\n flagEnv: flagConfig.env,\n })\n }\n }\n }\n }\n\n if (flags.csv) {\n const columns = ['pluginName', 'command', 'flagName', 'flagChar', 'flagEnv'] as const\n const header = `${columns.join(',')}\\n`\n const rows = data.map((obj) => columns.map((key) => obj[key]).join(',')).join('\\n')\n const csvString = header + rows\n renderText({text: csvString})\n } else {\n renderTable({\n rows: data,\n columns: {\n pluginName: {\n header: 'plugin',\n color: 'red',\n },\n command: {},\n flagName: {\n header: 'long flag',\n color: 'green',\n },\n flagChar: {\n header: 'short flag',\n color: 'green',\n },\n flagEnv: {\n header: 'env variable',\n color: 'blueBright',\n },\n },\n })\n }\n }\n}\n"]}
@@ -6,5 +6,6 @@ import Command from '@shopify/cli-kit/node/base-command';
6
6
  */
7
7
  export default class KitchenSinkAsync extends Command {
8
8
  static description: string;
9
+ static hidden: boolean;
9
10
  run(): Promise<void>;
10
11
  }
@@ -11,5 +11,6 @@ class KitchenSinkAsync extends Command {
11
11
  }
12
12
  }
13
13
  KitchenSinkAsync.description = 'View the UI kit components that process async tasks';
14
+ KitchenSinkAsync.hidden = true;
14
15
  export default KitchenSinkAsync;
15
16
  //# sourceMappingURL=async.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"async.js","sourceRoot":"","sources":["../../../../src/cli/commands/kitchen-sink/async.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,sCAAsC,CAAA;AAC/D,OAAO,OAAO,MAAM,oCAAoC,CAAA;AAExD;;;;GAIG;AACH,MAAqB,gBAAiB,SAAQ,OAAO;IAGnD,KAAK,CAAC,GAAG;QACP,MAAM,UAAU,EAAE,CAAA;IACpB,CAAC;;AAJM,4BAAW,GAAG,qDAAqD,CAAA;eADvD,gBAAgB","sourcesContent":["import {asyncTasks} from '../../services/kitchen-sink/async.js'\nimport Command from '@shopify/cli-kit/node/base-command'\n\n/**\n * This command is used to output all the async UI components of the CLI.\n * It's useful to test how they behave under different terminal sizes\n * and to help update the documentation when they change.\n */\nexport default class KitchenSinkAsync extends Command {\n static description = 'View the UI kit components that process async tasks'\n\n async run(): Promise<void> {\n await asyncTasks()\n }\n}\n"]}
1
+ {"version":3,"file":"async.js","sourceRoot":"","sources":["../../../../src/cli/commands/kitchen-sink/async.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,sCAAsC,CAAA;AAC/D,OAAO,OAAO,MAAM,oCAAoC,CAAA;AAExD;;;;GAIG;AACH,MAAqB,gBAAiB,SAAQ,OAAO;IAInD,KAAK,CAAC,GAAG;QACP,MAAM,UAAU,EAAE,CAAA;IACpB,CAAC;;AALM,4BAAW,GAAG,qDAAqD,CAAA;AACnE,uBAAM,GAAG,IAAI,CAAA;eAFD,gBAAgB","sourcesContent":["import {asyncTasks} from '../../services/kitchen-sink/async.js'\nimport Command from '@shopify/cli-kit/node/base-command'\n\n/**\n * This command is used to output all the async UI components of the CLI.\n * It's useful to test how they behave under different terminal sizes\n * and to help update the documentation when they change.\n */\nexport default class KitchenSinkAsync extends Command {\n static description = 'View the UI kit components that process async tasks'\n static hidden = true\n\n async run(): Promise<void> {\n await asyncTasks()\n }\n}\n"]}
@@ -6,7 +6,7 @@ import Command from '@shopify/cli-kit/node/base-command';
6
6
  */
7
7
  export default class KitchenSinkAll extends Command {
8
8
  static description: string;
9
- static aliases: string[];
9
+ static hiddenAliases: string[];
10
10
  static hidden: boolean;
11
11
  run(): Promise<void>;
12
12
  }
@@ -15,7 +15,7 @@ class KitchenSinkAll extends Command {
15
15
  }
16
16
  }
17
17
  KitchenSinkAll.description = 'View all the available UI kit components';
18
- KitchenSinkAll.aliases = ['kitchen-sink all'];
18
+ KitchenSinkAll.hiddenAliases = ['kitchen-sink all'];
19
19
  KitchenSinkAll.hidden = true;
20
20
  export default KitchenSinkAll;
21
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/cli/commands/kitchen-sink/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,sCAAsC,CAAA;AAC/D,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAA;AACnE,OAAO,EAAC,OAAO,EAAC,MAAM,wCAAwC,CAAA;AAC9D,OAAO,OAAO,MAAM,oCAAoC,CAAA;AAExD;;;;GAIG;AACH,MAAqB,cAAe,SAAQ,OAAO;IAKjD,KAAK,CAAC,GAAG;QACP,MAAM,aAAa,EAAE,CAAA;QACrB,MAAM,OAAO,EAAE,CAAA;QACf,MAAM,UAAU,EAAE,CAAA;IACpB,CAAC;;AARM,0BAAW,GAAG,0CAA0C,CAAA;AACxD,sBAAO,GAAG,CAAC,kBAAkB,CAAC,CAAA;AAC9B,qBAAM,GAAG,IAAI,CAAA;eAHD,cAAc","sourcesContent":["import {asyncTasks} from '../../services/kitchen-sink/async.js'\nimport {staticService} from '../../services/kitchen-sink/static.js'\nimport {prompts} from '../../services/kitchen-sink/prompts.js'\nimport Command from '@shopify/cli-kit/node/base-command'\n\n/**\n * This command is used to output all the UI components of the CLI.\n * It's useful to test how they behave under different terminal sizes\n * and to help update the documentation when they change.\n */\nexport default class KitchenSinkAll extends Command {\n static description = 'View all the available UI kit components'\n static aliases = ['kitchen-sink all']\n static hidden = true\n\n async run(): Promise<void> {\n await staticService()\n await prompts()\n await asyncTasks()\n }\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/cli/commands/kitchen-sink/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,sCAAsC,CAAA;AAC/D,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAA;AACnE,OAAO,EAAC,OAAO,EAAC,MAAM,wCAAwC,CAAA;AAC9D,OAAO,OAAO,MAAM,oCAAoC,CAAA;AAExD;;;;GAIG;AACH,MAAqB,cAAe,SAAQ,OAAO;IAKjD,KAAK,CAAC,GAAG;QACP,MAAM,aAAa,EAAE,CAAA;QACrB,MAAM,OAAO,EAAE,CAAA;QACf,MAAM,UAAU,EAAE,CAAA;IACpB,CAAC;;AARM,0BAAW,GAAG,0CAA0C,CAAA;AACxD,4BAAa,GAAG,CAAC,kBAAkB,CAAC,CAAA;AACpC,qBAAM,GAAG,IAAI,CAAA;eAHD,cAAc","sourcesContent":["import {asyncTasks} from '../../services/kitchen-sink/async.js'\nimport {staticService} from '../../services/kitchen-sink/static.js'\nimport {prompts} from '../../services/kitchen-sink/prompts.js'\nimport Command from '@shopify/cli-kit/node/base-command'\n\n/**\n * This command is used to output all the UI components of the CLI.\n * It's useful to test how they behave under different terminal sizes\n * and to help update the documentation when they change.\n */\nexport default class KitchenSinkAll extends Command {\n static description = 'View all the available UI kit components'\n static hiddenAliases = ['kitchen-sink all']\n static hidden = true\n\n async run(): Promise<void> {\n await staticService()\n await prompts()\n await asyncTasks()\n }\n}\n"]}
@@ -6,5 +6,6 @@ import Command from '@shopify/cli-kit/node/base-command';
6
6
  */
7
7
  export default class KitchenSinkPrompts extends Command {
8
8
  static description: string;
9
+ static hidden: boolean;
9
10
  run(): Promise<void>;
10
11
  }
@@ -11,5 +11,6 @@ class KitchenSinkPrompts extends Command {
11
11
  }
12
12
  }
13
13
  KitchenSinkPrompts.description = 'View the UI kit components prompts';
14
+ KitchenSinkPrompts.hidden = true;
14
15
  export default KitchenSinkPrompts;
15
16
  //# sourceMappingURL=prompts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"prompts.js","sourceRoot":"","sources":["../../../../src/cli/commands/kitchen-sink/prompts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,wCAAwC,CAAA;AAC9D,OAAO,OAAO,MAAM,oCAAoC,CAAA;AAExD;;;;GAIG;AACH,MAAqB,kBAAmB,SAAQ,OAAO;IAGrD,KAAK,CAAC,GAAG;QACP,MAAM,OAAO,EAAE,CAAA;IACjB,CAAC;;AAJM,8BAAW,GAAG,oCAAoC,CAAA;eADtC,kBAAkB","sourcesContent":["import {prompts} from '../../services/kitchen-sink/prompts.js'\nimport Command from '@shopify/cli-kit/node/base-command'\n\n/**\n * This command is used to output all the UI prompt components of the CLI.\n * It's useful to test how they behave under different terminal sizes\n * and to help update the documentation when they change.\n */\nexport default class KitchenSinkPrompts extends Command {\n static description = 'View the UI kit components prompts'\n\n async run(): Promise<void> {\n await prompts()\n }\n}\n"]}
1
+ {"version":3,"file":"prompts.js","sourceRoot":"","sources":["../../../../src/cli/commands/kitchen-sink/prompts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,wCAAwC,CAAA;AAC9D,OAAO,OAAO,MAAM,oCAAoC,CAAA;AAExD;;;;GAIG;AACH,MAAqB,kBAAmB,SAAQ,OAAO;IAIrD,KAAK,CAAC,GAAG;QACP,MAAM,OAAO,EAAE,CAAA;IACjB,CAAC;;AALM,8BAAW,GAAG,oCAAoC,CAAA;AAClD,yBAAM,GAAG,IAAI,CAAA;eAFD,kBAAkB","sourcesContent":["import {prompts} from '../../services/kitchen-sink/prompts.js'\nimport Command from '@shopify/cli-kit/node/base-command'\n\n/**\n * This command is used to output all the UI prompt components of the CLI.\n * It's useful to test how they behave under different terminal sizes\n * and to help update the documentation when they change.\n */\nexport default class KitchenSinkPrompts extends Command {\n static description = 'View the UI kit components prompts'\n static hidden = true\n\n async run(): Promise<void> {\n await prompts()\n }\n}\n"]}
@@ -6,5 +6,6 @@ import Command from '@shopify/cli-kit/node/base-command';
6
6
  */
7
7
  export default class KitchenSinkStatic extends Command {
8
8
  static description: string;
9
+ static hidden: boolean;
9
10
  run(): Promise<void>;
10
11
  }
@@ -11,5 +11,6 @@ class KitchenSinkStatic extends Command {
11
11
  }
12
12
  }
13
13
  KitchenSinkStatic.description = 'View the UI kit components that display static output';
14
+ KitchenSinkStatic.hidden = true;
14
15
  export default KitchenSinkStatic;
15
16
  //# sourceMappingURL=static.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"static.js","sourceRoot":"","sources":["../../../../src/cli/commands/kitchen-sink/static.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAA;AACnE,OAAO,OAAO,MAAM,oCAAoC,CAAA;AAExD;;;;GAIG;AACH,MAAqB,iBAAkB,SAAQ,OAAO;IAGpD,KAAK,CAAC,GAAG;QACP,MAAM,aAAa,EAAE,CAAA;IACvB,CAAC;;AAJM,6BAAW,GAAG,uDAAuD,CAAA;eADzD,iBAAiB","sourcesContent":["import {staticService} from '../../services/kitchen-sink/static.js'\nimport Command from '@shopify/cli-kit/node/base-command'\n\n/**\n * This command is used to output all the banner UI components of the CLI.\n * It's useful to test how they behave under different terminal sizes\n * and to help update the documentation when they change.\n */\nexport default class KitchenSinkStatic extends Command {\n static description = 'View the UI kit components that display static output'\n\n async run(): Promise<void> {\n await staticService()\n }\n}\n"]}
1
+ {"version":3,"file":"static.js","sourceRoot":"","sources":["../../../../src/cli/commands/kitchen-sink/static.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAA;AACnE,OAAO,OAAO,MAAM,oCAAoC,CAAA;AAExD;;;;GAIG;AACH,MAAqB,iBAAkB,SAAQ,OAAO;IAIpD,KAAK,CAAC,GAAG;QACP,MAAM,aAAa,EAAE,CAAA;IACvB,CAAC;;AALM,6BAAW,GAAG,uDAAuD,CAAA;AACrE,wBAAM,GAAG,IAAI,CAAA;eAFD,iBAAiB","sourcesContent":["import {staticService} from '../../services/kitchen-sink/static.js'\nimport Command from '@shopify/cli-kit/node/base-command'\n\n/**\n * This command is used to output all the banner UI components of the CLI.\n * It's useful to test how they behave under different terminal sizes\n * and to help update the documentation when they change.\n */\nexport default class KitchenSinkStatic extends Command {\n static description = 'View the UI kit components that display static output'\n static hidden = true\n\n async run(): Promise<void> {\n await staticService()\n }\n}\n"]}