var g=Object.defineProperty;var c=(e,a)=>g(e,"name",{value:a,configurable:!0});import{R as d,S as k}from"../packem_shared/pm-runner-DmKT2FqF.js";var u=Object.defineProperty,v=c((e,a)=>u(e,"name",{value:a,configurable:!0}),"t");const x=v(async({argument:e,logger:a,options:r,process:i,visConfig:n,workspaceRoot:t})=>{if(!e||e.length===0)throw new Error("No package specified. Usage: vis info <package> [field...]");const[f,...p]=e,s=t??i.cwd,l=d(s,{configBackend:n?.install?.backend,configCorepack:n?.install?.corepack}),o=k(l,{fields:p,json:r.json||!1,package:f},s,a);o!==0&&o!==1&&(process.exitCode=o)},"execute");export{x as default};
