[{"data":1,"prerenderedAt":452},["ShallowReactive",2],{"navigation_docs":3,"-docs-commands-registry":145,"-docs-commands-registry-surround":447},[4,8,12,16,51,81,103],{"title":5,"path":6,"stem":7},"Introduction","\u002Fdocs\u002Fintroduction","docs\u002F1.introduction",{"title":9,"path":10,"stem":11},"Getting started","\u002Fdocs\u002Fgetting-started","docs\u002F2.getting-started",{"title":13,"path":14,"stem":15},"Environment variables","\u002Fdocs\u002Fenvironment-variables","docs\u002F3.environment-variables",{"title":17,"icon":18,"path":19,"stem":20,"children":21,"page":50},"Guide","i-lucide-book-open","\u002Fdocs\u002Fguide","docs\u002F4.guide",[22,26,30,34,38,42,46],{"title":23,"path":24,"stem":25},"Scaffold a project","\u002Fdocs\u002Fguide\u002Fscaffold","docs\u002F4.guide\u002F1.scaffold",{"title":27,"path":28,"stem":29},"Pin and manage templates","\u002Fdocs\u002Fguide\u002Fpin","docs\u002F4.guide\u002F2.pin",{"title":31,"path":32,"stem":33},"Update pinned templates","\u002Fdocs\u002Fguide\u002Fupdating","docs\u002F4.guide\u002F3.updating",{"title":35,"path":36,"stem":37},"Find templates","\u002Fdocs\u002Fguide\u002Fsearch","docs\u002F4.guide\u002F4.search",{"title":39,"path":40,"stem":41},"Manage registries","\u002Fdocs\u002Fguide\u002Fregistry","docs\u002F4.guide\u002F5.registry",{"title":43,"path":44,"stem":45},"Troubleshooting","\u002Fdocs\u002Fguide\u002Ftroubleshooting","docs\u002F4.guide\u002F6.troubleshooting",{"title":47,"path":48,"stem":49},"Build your first template","\u002Fdocs\u002Fguide\u002Fcreate-template","docs\u002F4.guide\u002F7.create-template",false,{"title":52,"icon":53,"path":54,"stem":55,"children":56,"page":50},"Templates","i-lucide-layout-template","\u002Fdocs\u002Ftemplates","docs\u002F5.templates",[57,61,65,69,73,77],{"title":58,"path":59,"stem":60},"Template anatomy","\u002Fdocs\u002Ftemplates\u002Fanatomy","docs\u002F5.templates\u002F1.anatomy",{"title":62,"path":63,"stem":64},"Template params","\u002Fdocs\u002Ftemplates\u002Fparams","docs\u002F5.templates\u002F2.params",{"title":66,"path":67,"stem":68},"Template rendering","\u002Fdocs\u002Ftemplates\u002Ftemplate-rendering","docs\u002F5.templates\u002F3.template-rendering",{"title":70,"path":71,"stem":72},"Hooks","\u002Fdocs\u002Ftemplates\u002Fhooks","docs\u002F5.templates\u002F4.hooks",{"title":74,"path":75,"stem":76},"Publish a template","\u002Fdocs\u002Ftemplates\u002Fpublish","docs\u002F5.templates\u002F5.publish",{"title":78,"path":79,"stem":80},"spin.toml","\u002Fdocs\u002Ftemplates\u002Fspin-toml","docs\u002F5.templates\u002F6.spin-toml",{"title":82,"icon":83,"path":84,"stem":85,"children":86,"page":50},"Registries","i-lucide-database","\u002Fdocs\u002Fregistries","docs\u002F6.registries",[87,91,95,99],{"title":88,"path":89,"stem":90},"Registry anatomy","\u002Fdocs\u002Fregistries\u002Fanatomy","docs\u002F6.registries\u002F1.anatomy",{"title":92,"path":93,"stem":94},"Template metadata file","\u002Fdocs\u002Fregistries\u002Ftemplate-metadata","docs\u002F6.registries\u002F2.template-metadata",{"title":96,"path":97,"stem":98},"Run a registry","\u002Fdocs\u002Fregistries\u002Frun","docs\u002F6.registries\u002F3.run",{"title":100,"path":101,"stem":102},"registry.toml","\u002Fdocs\u002Fregistries\u002Fregistry-toml","docs\u002F6.registries\u002F4.registry-toml",{"title":104,"icon":105,"path":106,"stem":107,"children":108,"page":50},"Commands","i-lucide-terminal","\u002Fdocs\u002Fcommands","docs\u002F7.commands",[109,113,117,121,125,129,133,137,141],{"title":110,"path":111,"stem":112},"spin new","\u002Fdocs\u002Fcommands\u002Fnew","docs\u002F7.commands\u002F1.new",{"title":114,"path":115,"stem":116},"spin add","\u002Fdocs\u002Fcommands\u002Fadd","docs\u002F7.commands\u002F2.add",{"title":118,"path":119,"stem":120},"spin list","\u002Fdocs\u002Fcommands\u002Flist","docs\u002F7.commands\u002F3.list",{"title":122,"path":123,"stem":124},"spin update","\u002Fdocs\u002Fcommands\u002Fupdate","docs\u002F7.commands\u002F4.update",{"title":126,"path":127,"stem":128},"spin remove","\u002Fdocs\u002Fcommands\u002Fremove","docs\u002F7.commands\u002F5.remove",{"title":130,"path":131,"stem":132},"spin search","\u002Fdocs\u002Fcommands\u002Fsearch","docs\u002F7.commands\u002F6.search",{"title":134,"path":135,"stem":136},"spin registry","\u002Fdocs\u002Fcommands\u002Fregistry","docs\u002F7.commands\u002F7.registry",{"title":138,"path":139,"stem":140},"spin init","\u002Fdocs\u002Fcommands\u002Finit","docs\u002F7.commands\u002F8.init",{"title":142,"path":143,"stem":144},"spin version","\u002Fdocs\u002Fcommands\u002Fversion","docs\u002F7.commands\u002F9.version",{"id":146,"title":134,"body":147,"description":440,"extension":441,"links":442,"meta":443,"navigation":444,"path":135,"seo":445,"stem":136,"__hash__":446},"docs\u002Fdocs\u002F7.commands\u002F7.registry.md",{"type":148,"value":149,"toc":433},"minimark",[150,155,216,220,283,306,310,336,344,348,374,381,385,401,408,429],[151,152,154],"h2",{"id":153},"subcommands","Subcommands",[156,157,158,171],"table",{},[159,160,161],"thead",{},[162,163,164,168],"tr",{},[165,166,167],"th",{},"Subcommand",[165,169,170],{},"Description",[172,173,174,186,196,206],"tbody",{},[162,175,176,183],{},[177,178,179],"td",{},[180,181,182],"code",{},"add \u003Calias> \u003Csource>",[177,184,185],{},"Register a git or local registry.",[162,187,188,193],{},[177,189,190],{},[180,191,192],{},"list",[177,194,195],{},"List registered registries.",[162,197,198,203],{},[177,199,200],{},[180,201,202],{},"update [alias]",[177,204,205],{},"Refresh git registries.",[162,207,208,213],{},[177,209,210],{},[180,211,212],{},"remove \u003Calias>",[177,214,215],{},"Remove a registry and its cache.",[151,217,219],{"id":218},"spin-registry-add","spin registry add",[221,222,227],"pre",{"className":223,"code":224,"language":225,"meta":226,"style":226},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","spin registry add official https:\u002F\u002Fgithub.com\u002Fexample\u002Fspin-registry.git\nspin registry add local ~\u002Fcode\u002Fspin-registry\nspin registry add official https:\u002F\u002Fgithub.com\u002Fexample\u002Fspin-registry.git --force\n","sh","",[180,228,229,251,266],{"__ignoreMap":226},[230,231,234,238,242,245,248],"span",{"class":232,"line":233},"line",1,[230,235,237],{"class":236},"sBMFI","spin",[230,239,241],{"class":240},"sfazB"," registry",[230,243,244],{"class":240}," add",[230,246,247],{"class":240}," official",[230,249,250],{"class":240}," https:\u002F\u002Fgithub.com\u002Fexample\u002Fspin-registry.git\n",[230,252,254,256,258,260,263],{"class":232,"line":253},2,[230,255,237],{"class":236},[230,257,241],{"class":240},[230,259,244],{"class":240},[230,261,262],{"class":240}," local",[230,264,265],{"class":240}," ~\u002Fcode\u002Fspin-registry\n",[230,267,269,271,273,275,277,280],{"class":232,"line":268},3,[230,270,237],{"class":236},[230,272,241],{"class":240},[230,274,244],{"class":240},[230,276,247],{"class":240},[230,278,279],{"class":240}," https:\u002F\u002Fgithub.com\u002Fexample\u002Fspin-registry.git",[230,281,282],{"class":240}," --force\n",[156,284,285,294],{},[159,286,287],{},[162,288,289,292],{},[165,290,291],{},"Flag",[165,293,170],{},[172,295,296],{},[162,297,298,303],{},[177,299,300],{},[180,301,302],{},"--force",[177,304,305],{},"Replace an existing alias and wipe its cache.",[151,307,309],{"id":308},"spin-registry-list","spin registry list",[221,311,313],{"className":223,"code":312,"language":225,"meta":226,"style":226},"spin registry list\nspin registry list --json\n",[180,314,315,324],{"__ignoreMap":226},[230,316,317,319,321],{"class":232,"line":233},[230,318,237],{"class":236},[230,320,241],{"class":240},[230,322,323],{"class":240}," list\n",[230,325,326,328,330,333],{"class":232,"line":253},[230,327,237],{"class":236},[230,329,241],{"class":240},[230,331,332],{"class":240}," list",[230,334,335],{"class":240}," --json\n",[337,338,339,340,343],"p",{},"Shows alias, source, kind, template count, and cache path. Use ",[180,341,342],{},"--json"," for\nmachine-readable output.",[151,345,347],{"id":346},"spin-registry-update","spin registry update",[221,349,351],{"className":223,"code":350,"language":225,"meta":226,"style":226},"spin registry update official\nspin registry update\n",[180,352,353,365],{"__ignoreMap":226},[230,354,355,357,359,362],{"class":232,"line":233},[230,356,237],{"class":236},[230,358,241],{"class":240},[230,360,361],{"class":240}," update",[230,363,364],{"class":240}," official\n",[230,366,367,369,371],{"class":232,"line":253},[230,368,237],{"class":236},[230,370,241],{"class":240},[230,372,373],{"class":240}," update\n",[337,375,376,377,380],{},"Git registries are fetched and reset to ",[180,378,379],{},"origin\u002FHEAD",". Local registries are skipped.",[151,382,384],{"id":383},"spin-registry-remove","spin registry remove",[221,386,388],{"className":223,"code":387,"language":225,"meta":226,"style":226},"spin registry remove official\n",[180,389,390],{"__ignoreMap":226},[230,391,392,394,396,399],{"class":232,"line":233},[230,393,237],{"class":236},[230,395,241],{"class":240},[230,397,398],{"class":240}," remove",[230,400,364],{"class":240},[337,402,403,404,407],{},"Refuses if pinned templates depend on the registry unless ",[180,405,406],{},"--purge-pinned"," is passed.",[156,409,410,418],{},[159,411,412],{},[162,413,414,416],{},[165,415,291],{},[165,417,170],{},[172,419,420],{},[162,421,422,426],{},[177,423,424],{},[180,425,406],{},[177,427,428],{},"Soft-delete pinned templates that depend on this registry.",[430,431,432],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":226,"searchDepth":253,"depth":253,"links":434},[435,436,437,438,439],{"id":153,"depth":253,"text":154},{"id":218,"depth":253,"text":219},{"id":308,"depth":253,"text":309},{"id":346,"depth":253,"text":347},{"id":383,"depth":253,"text":384},"Manage local template registries.","md",null,{},true,{"title":134,"description":440},"GWjPIvXtzZ0LPb9GBiq_WHZEs4qsT38mzCSl-qM_dB8",[448,450],{"title":130,"path":131,"stem":132,"description":449,"children":-1},"Search templates in registered registries and pinned templates.",{"title":138,"path":139,"stem":140,"description":451,"children":-1},"Scaffold a new external template directory.",1787755180241]