import{b as d,c as f}from"./chunk-2MNOWKMI.js";import{a as c}from"./chunk-YB3SGPFF.js";import{a as p}from"./chunk-7XQDZF73.js";import{Ga as u,e as i}from"./chunk-UZ7U322K.js";import{b as n}from"./chunk-Q6LCSRIW.js";import{v as e}from"./chunk-E24W34C4.js";import{g as s}from"./chunk-VKWPEFWQ.js";s();var a,t=class extends c{async run(){let{flags:o}=await this.parse(a),{app:r}=await u({directory:o.path,userProvidedConfigName:o.config}),m=await f(r,o.path);return await i(m,{stdout:process.stdout,stderr:process.stderr,app:r}),e({headline:"GraphQL types generated successfully."}),{app:r}}};a=t;t.summary="Generate GraphQL types for a function.";t.descriptionWithMarkdown="Creates GraphQL types based on your [input query](https://shopify.dev/docs/apps/functions/input-output#input) for a function. Supports JavaScript functions out of the box, or any language via the `build.typegen_command` configuration.";t.description=a.descriptionWithoutMarkdown();t.flags={...n,...p,...d};var x=t;export{x as a};
