var d=Object.defineProperty;var i=(e,o)=>d(e,"name",{value:o,configurable:!0});import{R as g,L as u}from"../packem_shared/pm-runner-DmKT2FqF.js";var f=Object.defineProperty,b=i((e,o)=>f(e,"name",{value:o,configurable:!0}),"t");const w=b(async({argument:e,logger:o,visConfig:c,workspaceRoot:t})=>{const a=e;if(!a||a.length===0)throw new Error("No subcommand specified. Available: cache, publish, audit, list, view, config, whoami, login, logout, pack, owner, dist-tag, search, fund, ping, token, deprecate, rebuild, prune, plugin");const[s,...l]=a,n=t??process.cwd(),p=g(n,{configBackend:c?.install?.backend,configCorepack:c?.install?.corepack}),r=u(p,s,l,n,o);r!==0&&(process.exitCode=r)},"execute");export{w as default};
