[{"data":1,"prerenderedAt":396},["ShallowReactive",2],{"page:\u002Fdocs\u002F5.x\u002Freference\u002Fcommands\u002Fremove":3},{"id":4,"title":5,"body":6,"description":378,"extension":379,"frontmatter":380,"heading":5,"meta":387,"navigation":389,"order":384,"path":390,"seo":391,"sitemap":392,"source":393,"stem":394,"__hash__":395},"docs\u002Fdocs\u002F5.x\u002Freference\u002Fcommands\u002Fremove.md","kubb remove",{"type":7,"value":8,"toc":367},"minimark",[9,21,26,29,52,131,138,141,153,157,206,210,274,278,283,286,299,319,323,358,362],[10,11,12,13,16,17,20],"p",{},"Run ",[14,15,5],"code",{}," to delete a plugin or parser from ",[14,18,19],{},"kubb.config.ts"," and uninstall its package. It shows the lines it removes and asks before it changes anything.",[22,23,25],"h2",{"id":24},"usage","Usage",[10,27,28],{},"Remove a plugin:",[30,31,36],"pre",{"language":32,"filename":33,"code":34,"class":35},"shell","Terminal","kubb remove plugin-zod","highlights",[14,37,39],{"class":38},"language-shell",[40,41,44,48],"span",{"class":42,"style":43},"line","display: inline",[40,45,47],{"style":46},"color:#6f42c1;--hls-dark:#b392f0","kubb ",[40,49,51],{"style":50},"color:#24292e;--hls-dark:#e1e4e8","remove plugin-zod",[30,53,57],{"language":54,"filename":55,"code":56,"class":35},"text","Output","◇  Plugin plugin-zod v5.13.0\n│  Config    kubb.config.ts\n│    - import { pluginZod } from '@kubb\u002Fplugin-zod'\n│    - pluginZod({ output: { path: 'zod' } }),\n│  Uninstalls @kubb\u002Fplugin-zod\n│\n◆  Remove it?\n│  Yes\n│\n◇  pluginZod() removed from kubb.config.ts\n\n✓ Plugin removed  3.42s\n\n  Packages  @kubb\u002Fplugin-zod uninstalled with pnpm\n\nNext     kubb generate",[14,58,60,65,66,65,71,65,76,65,81,65,86,65,91,65,96,65,101,65,105,65,110,65,112,65,117,65,119,65,124,65,126],{"class":59},"language-text",[40,61,62],{"class":42,"style":43},[40,63,64],{"style":50},"◇  Plugin plugin-zod v5.13.0","\n",[40,67,68],{"class":42,"style":43},[40,69,70],{"style":50},"│  Config    kubb.config.ts",[40,72,73],{"class":42,"style":43},[40,74,75],{"style":50},"│    - import { pluginZod } from '@kubb\u002Fplugin-zod'",[40,77,78],{"class":42,"style":43},[40,79,80],{"style":50},"│    - pluginZod({ output: { path: 'zod' } }),",[40,82,83],{"class":42,"style":43},[40,84,85],{"style":50},"│  Uninstalls @kubb\u002Fplugin-zod",[40,87,88],{"class":42,"style":43},[40,89,90],{"style":50},"│",[40,92,93],{"class":42,"style":43},[40,94,95],{"style":50},"◆  Remove it?",[40,97,98],{"class":42,"style":43},[40,99,100],{"style":50},"│  Yes",[40,102,103],{"class":42,"style":43},[40,104,90],{"style":50},[40,106,107],{"class":42,"style":43},[40,108,109],{"style":50},"◇  pluginZod() removed from kubb.config.ts",[40,111],{"class":42,"style":43},[40,113,114],{"class":42,"style":43},[40,115,116],{"style":50},"✓ Plugin removed  3.42s",[40,118],{"class":42,"style":43},[40,120,121],{"class":42,"style":43},[40,122,123],{"style":50},"  Packages  @kubb\u002Fplugin-zod uninstalled with pnpm",[40,125],{"class":42,"style":43},[40,127,128],{"class":42,"style":43},[40,129,130],{"style":50},"Next     kubb generate",[10,132,133,134,137],{},"Files the plugin generated stay on disk until the next ",[14,135,136],{},"kubb generate",".",[10,139,140],{},"Keep the package installed:",[30,142,144],{"language":32,"filename":33,"code":143,"class":35},"kubb remove plugin-zod --no-uninstall",[14,145,146],{"class":38},[40,147,148,150],{"class":42,"style":43},[40,149,47],{"style":46},[40,151,152],{"style":50},"remove plugin-zod --no-uninstall",[22,154,156],{"id":155},"arguments","Arguments",[158,159,160,176],"table",{},[161,162,163],"thead",{},[164,165,166,170,173],"tr",{},[167,168,169],"th",{},"Argument",[167,171,172],{},"Required",[167,174,175],{},"Description",[177,178,179],"tbody",{},[164,180,181,187,192],{},[182,183,184],"td",{},[14,185,186],{},"\u003Cid>",[182,188,189],{},[14,190,191],{},"true",[182,193,194,195,198,199,202,203,137],{},"Registry id, as ",[14,196,197],{},"\u003Cowner>\u002F\u003Cslug>"," or a bare ",[14,200,201],{},"\u003Cslug>"," for ",[14,204,205],{},"kubb-labs\u002F\u003Cslug>",[22,207,209],{"id":208},"options","Options",[158,211,212,224],{},[161,213,214],{},[164,215,216,219,222],{},[167,217,218],{},"Option",[167,220,221],{},"Default",[167,223,175],{},[177,225,226,244,262],{},[164,227,228,237,241],{},[182,229,230,233,234],{},[14,231,232],{},"--config",", ",[14,235,236],{},"-c",[182,238,239],{},[14,240,19],{},[182,242,243],{},"Path to the Kubb config file.",[164,245,246,254,259],{},[182,247,248,233,251],{},[14,249,250],{},"--yes",[14,252,253],{},"-y",[182,255,256],{},[14,257,258],{},"false",[182,260,261],{},"Remove without asking.",[164,263,264,269,271],{},[182,265,266],{},[14,267,268],{},"--no-uninstall",[182,270],{},[182,272,273],{},"Edit the config only and keep the package installed.",[22,275,277],{"id":276},"what-it-removes","What it removes",[10,279,280,282],{},[14,281,5],{}," deletes the plugin or parser from the config, also when Kubb Studio switched it off, and drops its unused import. With several config entries, it edits the first one.",[10,284,285],{},"It does not remove:",[287,288,289,293,296],"ul",{},[290,291,292],"li",{},"the adapter. A config needs one.",[290,294,295],{},"the last parser. A config needs at least one.",[290,297,298],{},"an extension another one depends on. Remove that one first.",[10,300,301,233,304,233,307,310,311,314,315,318],{},[14,302,303],{},"@kubb\u002Fadapter-oas",[14,305,306],{},"@kubb\u002Fparser-ts",[14,308,309],{},"@kubb\u002Fparser-md",", and ",[14,312,313],{},"@kubb\u002Fplugin-barrel"," ship with ",[14,316,317],{},"kubb",". They leave the config but stay installed.",[22,320,322],{"id":321},"environment-variables","Environment variables",[158,324,325,336],{},[161,326,327],{},[164,328,329,332,334],{},[167,330,331],{},"Variable",[167,333,221],{},[167,335,175],{},[177,337,338],{},[164,339,340,345,350],{},[182,341,342],{},[14,343,344],{},"KUBB_REGISTRY",[182,346,347],{},[14,348,349],{},"https:\u002F\u002Fkubb.dev\u002Fregistry",[182,351,352,353,137],{},"Base URL of the registry to read. See ",[354,355,357],"a",{"href":356},"\u002Fdocs\u002F5.x\u002Freference\u002Fregistry#host-your-own-registry","Host your own registry",[22,359,361],{"id":360},"exit-codes","Exit codes",[10,363,364,366],{},[14,365,5],{}," exits with code 1 when it cannot remove the extension or the uninstall fails. It exits with code 0 when the extension is removed, was not in the project, or you cancel.",{"title":368,"searchDepth":369,"depth":369,"links":370},"",5,[371,373,374,375,376,377],{"id":24,"depth":372,"text":25},2,{"id":155,"depth":372,"text":156},{"id":208,"depth":372,"text":209},{"id":276,"depth":372,"text":277},{"id":321,"depth":372,"text":322},{"id":360,"depth":372,"text":361},"The remove command deletes a plugin or parser from kubb.config.ts and uninstalls its package.","md",{"layout":381,"title":5,"description":378,"outline":382,"order":384,"navigation":385},"doc",[372,383],3,9,{"title":5,"icon":386},"i-iconoir-trash",{"layout":381,"outline":388},[372,383],{"title":5,"icon":386},"\u002Fdocs\u002F5.x\u002Freference\u002Fcommands\u002Fremove",{"title":5,"description":378},{"loc":390},"kubb-labs\u002Fkubb\u002Fdocs\u002F5.x\u002Freference\u002Fcommands\u002Fremove.md","docs\u002F5.x\u002Freference\u002Fcommands\u002Fremove","JT28TdHR0OzbrKprQjyjDp7QdLYimxdBloDkDc4V2ko",1792879192503]