var l=Object.defineProperty;var i=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var a=(t,r,e)=>r in t?l(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,c=(t,r)=>{for(var e in r||(r={}))m.call(r,e)&&a(t,e,r[e]);if(i)for(var e of i(r))d.call(r,e)&&a(t,e,r[e]);return t};var p="    \u2022 ",s={cache:{strategy:"stale-while-revalidate"},script:{command:"vr",args:[],env:{NO_COLOR:"1"}},postProcess:t=>{let r=[];try{let e=t.split(`
`).filter(Boolean);for(let o=0;o<e.length;o++){let n=e[o];!n.startsWith(p)||r.push(c({name:n.replace(p,"")},e[o+1]&&{description:e[o+1].trim()}))}}catch(e){console.error(e)}return r}},g={name:"vr",description:"The npm-style script runner for Deno",subcommands:[{name:"run",description:"Run a script",args:{name:"script",generators:s}},{name:"export",description:"Export one or more scripts as standalone executable files",args:{name:"script",isVariadic:!0,generators:s}},{name:"upgrade",description:"Upgrade Velociraptor to the latest version or to a specific one",args:{name:"version",isOptional:!0},options:[{name:["-o","--out-dir"],description:"The folder where the scripts will be exported",args:{name:"dir"}}]}],options:[{name:["--help","-h"],description:"Show help for Velociraptor",isPersistent:!0},{name:["-V","--version"],description:"Show the version number for Velociraptor"}],args:{name:"script",generators:s}},u=g;export{u as default};
