var c=Object.defineProperty;var s=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var a=(t,e,n)=>e in t?c(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,i=(t,e)=>{for(var n in e||(e={}))m.call(e,n)&&a(t,n,e[n]);if(s)for(var n of s(e))p.call(e,n)&&a(t,n,e[n]);return t};var o=[{name:"--verbose",description:"Enables verbose diagnostics"},{name:"--quiet",description:"Prevents unnecessary output"},{name:["-h","--help"],description:"Prints help information"}],r={isVariadic:!0,name:"tool@version"},l={name:"volta",description:"The JavaScript Launcher",subcommands:[{name:"fetch",description:"Fetches a tool to the local machine",args:{isVariadic:!0,name:"tool | tool@version"},options:[...o]},{name:"install",description:"Installs a tool in your toolchain",args:i({},r),options:[...o]},{name:"uninstall",description:"Uninstalls a tool from your toolchain",args:{name:"tool"},options:[...o]},{name:"pin",description:"Pins your project's runtime or package manager",args:i({},r),options:[...o]},{name:"list",description:"Displays the current toolchain",args:{name:"tool"},options:[{name:["-c","--current"],description:"Show the currently-active tool(s)"},{name:["-d","--default"],description:"Show your default tool(s)"},...o,{name:"--format",description:"Specify output format",args:{name:"output format",suggestions:["human","plain"]}}]},{name:"completions",description:"Generates Volta completions",args:{name:"shell",description:"Shell to generate completions for",suggestions:["zsh","bash","fish","powershell","elivsh"]},options:[{name:["-f","--force"],description:"Write over an existing file, if any"},...o,{name:["-o","--output"],description:"File to write generated completions to",args:{name:"file"}}]},{name:"which",description:"Locates the actual binary that will be called by Volta",args:{isVariadic:!0,name:"binary",template:"filepaths"},options:[...o]},{name:"setup",description:"Enables Volta for the current user",options:[...o]},{name:"run",description:"Run a command with custom Node, npm, and/or Yarn versions",args:{name:"command"},options:[{name:"--bundle",description:"Forces npm to be the version bundled with Node"},{name:"--no-yarn",description:"Disables Yarn"},{name:"--verbose",description:"Enables verbose diagnostics"},{name:"--quiet",description:"Prevents unnecessary output"},{name:"--node",description:"Set the custom Node version",args:{name:"version"}},{name:"--npm",description:"Set the custom npm version",args:{name:"version"}},{name:"--yarn",description:"Set the custom Yarn version",args:{name:"version"}},{name:"--env",description:"Set an environment variable (can be used multiple times)",isRepeatable:!0,args:{name:"NAME=value"}}]},{name:"help",description:"Prints this message or the help of the given subcommand(s)",args:{name:"subcommand"}}],options:[...o,{name:["-v","--version"],description:"Prints the current version of Volta"}]},u=l;export{u as default};
