import{r as e,t}from"./chunk-74CEPOFO-V0JXh91S.mjs";import{n,r,t as i}from"./chunk-HDQ56CKY-DZc2LbWr.mjs";var a={name:`head`,summary:`output the first part of files`,usage:`head [OPTION]... [FILE]...`,options:[`-c, --bytes=NUM    print the first NUM bytes`,`-n, --lines=NUM    print the first NUM lines (default 10)`,`-q, --quiet        never print headers giving file names`,`-v, --verbose      always print headers giving file names`,`    --help         display this help and exit`]},o={name:`head`,async execute(o,s){if(t(o))return e(a);let c=n(o,`head`);if(!c.ok)return c.error;let{lines:l,bytes:u}=c.options;return r(s,c.options,`head`,e=>i(e,l,u))}},s={name:`head`,flags:[{flag:`-n`,type:`value`,valueHint:`number`},{flag:`-c`,type:`value`,valueHint:`number`},{flag:`-q`,type:`boolean`},{flag:`-v`,type:`boolean`}],stdinType:`text`,needsFiles:!0};export{o as n,s as t};
//# sourceMappingURL=chunk-64BAICW3-BlirlXmE.mjs.map