import{a as i,b as r,c as n}from"./chunk-HDQ56CKY.js";import{a as t,b as a}from"./chunk-74CEPOFO.js";import"./chunk-DXB73IDG.js";var h={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"]},u={name:"head",async execute(s,o){if(a(s))return t(h);let e=i(s,"head");if(!e.ok)return e.error;let{lines:p,bytes:l}=e.options;return r(o,e.options,"head",d=>n(d,p,l))}};export{u as headCommand};
