1#!/usr/bin/env node
2import{Command as fv,CommanderError as gv}from"commander";import{createRequire as pv}from"module";import{spawnSync as mv}from"child_process";import{existsSync as Sa,mkdirSync as hv...
3 `))}import{existsSync as Up,readdirSync as _a,statSync as Mp}from"fs";import{join as Da,basename as Bp,extname as Vp}from"path";function Se(e,t){if(!Up(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 Ya(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 Wa(e){let t=(e[0...
6 `).trim()}}function dm(e,t){let n=e[e.length-1];!n||!t||(n.body=n.body?`${n.body}
⋯
69`,