var i=["-t","--taskfile"],a=["-d","--dir"],o={script:["task","-a"],postProcess:s=>s.includes("task: No Taskfile found")?[]:s.split(`
`).filter(e=>e.startsWith("*")).map(e=>{let n=e.slice(2).trim(),[r,t]=n.split(": ");return{name:r.replace(/:$/,""),description:t==null?void 0:t.trim(),icon:"fig://icon?type=command",priority:80}})},c={name:"go-task",description:"A task runner / simpler Make alternative written in Go",icon:"https://taskfile.dev/favicon.ico",args:{generators:o,isVariadic:!0,isOptional:!0},options:[{name:["-a","--list-all"],description:"Lists tasks with or without a description"},{name:["-c","--color"],description:"Colored output. Enabled by default. Set flag to false or use NO_COLOR=1 to disable (default true)",requiresEquals:!0,args:{name:"color",suggestions:["true","false"]}},{name:["-C","--concurrency"],description:"Limit number tasks to run concurrently",args:{name:"number"}},{name:a,description:"Sets directory of execution",exclusiveOn:i,args:{name:"path",template:["folders"]}},{name:"--dry",description:"Compiles and prints tasks in the order that they would be run, without executing them"},{name:["-f","--force"],description:"Forces execution even when the task is up-to-date"},{name:["-h","--help"],description:"Shows Task usage"},{name:["-i","--init"],description:"Creates a new Taskfile.yml in the current folder"},{name:["-l","--list"],description:"Lists tasks with description of current Taskfile"},{name:["-o","--output"],description:"Sets output style",args:{name:"output",suggestions:["interleaved","group","prefixed"]}},{name:["-p","--parallel"],description:"Executes tasks provided on command line in parallel"},{name:["-s","--silent"],description:"Disables echoing"},{name:"--status",description:"Exits with non-zero exit code if any of the given tasks is not up-to-date"},{name:"--summary",description:"Show summary about a task"},{name:i,description:"Choose which Taskfile to run",exclusiveOn:a,args:{name:"taskfile",default:"Taskfile.yml",template:["filepaths"]}},{name:["-v","--verbose"],description:"Enables verbose mode"},{name:"--version",description:"Show Task version"},{name:["-w","--watch"],description:"Enables watch of the given task"},{name:"--",description:"Pass variables to the task",args:{name:"variables",isVariadic:!0,optionsCanBreakVariadicArg:!1}}]},p=c;export{p as default};
