import{b as u,c as d}from"./chunk-2MNOWKMI.js";import{a as m}from"./chunk-YB3SGPFF.js";import{a}from"./chunk-7XQDZF73.js";import{Ga as c,q as p}from"./chunk-UZ7U322K.js";import{b as e}from"./chunk-Q6LCSRIW.js";import{v as n}from"./chunk-E24W34C4.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();var s,o=class extends m{async run(){let{flags:t}=await this.parse(s),{app:r}=await c({directory:t.path,userProvidedConfigName:t.config}),l=await d(r,t.path);return await p(l,{app:r,stdout:process.stdout,stderr:process.stderr,useTasks:!0,environment:"production"}),n({headline:"Function built successfully."}),{app:r}}};s=o;o.summary="Compile a function to wasm.";o.descriptionWithMarkdown="Compiles the function in your current directory to WebAssembly (Wasm) for testing purposes.";o.description=s.descriptionWithoutMarkdown();o.flags={...e,...a,...u};var k=o;export{k as a};
