1#!/usr/bin/env node
2import{Command as ox,CommanderError as sx}from"commander";import{createRequire as ix}from"module";import{spawnSync as lx}from"child_process";import{existsSync as Xl,readdirSync as ...
3 `))}import{existsSync as tp,readdirSync as fa,statSync as np}from"fs";import{join as ga,basename as rp,extname as op}from"path";function Se(e,t){if(!tp(e))return[];let n=[],r=o=>!t...
4 `).trim()))}if(o.length===0)return{header:e,blocks:[]};let l=i>=0?i:s.length;return{header:s.slice(0,l).join(`
5 `).trimEnd(),blocks:o}}function Ra(e){let t=0,n=e.length;for(;t<n&&(e[t]??"").trim()==="";)t++;for(;n>t&&(e[n-1]??"").trim()==="";)n--;return e.slice(t,n)}function Ea(e){let t=(e[0...
6 `).trim()}}function Ep(e,t){let n=e[e.length-1];!n||!t||(n.body=n.body?`${n.body}
⋯
69`,