[{"data":1,"prerenderedAt":515},["ShallowReactive",2],{"\u002Fdocs\u002Fadvanced\u002Fcli":3,"dl-navigation-docs":167,"surroundings-\u002Fdocs\u002Fadvanced\u002Fcli":510},{"id":4,"title":5,"_llmSection":6,"_local":6,"_schemaOrg":6,"_seo":6,"body":7,"description":158,"extension":159,"ignore":6,"meta":160,"navigation":161,"path":162,"seo":163,"sitemap":164,"stem":165,"__hash__":166},"docs\u002Fdocs\u002F09.advanced\u002F04.cli.md","CLI",null,{"type":8,"value":9,"toc":149},"minimark",[10,22,93,106],[11,12,14,18],"dl-section",{"id":13},"introduction",[15,16,17],"h2",{"id":13},"Introduction",[19,20,21],"p",{},"Currently, the CLI provides a limited set of functionalities. New features and commands will be added in each upcoming release. You can already start using some basic commands.",[11,23,25,28,31,58,65,73],{"id":24},"installation",[15,26,27],{"id":24},"Installation",[19,29,30],{},"To install CLI globally run the following command:",[32,33,35,46,52],"dl-code",{"tabs":34},"pnpm,bun,npm",[36,37,43],"pre",{"className":38,"code":40,"language":41,"meta":42},[39],"language-bash","pnpm add -g @vuehouse\u002Fdl-cli\n\"cref:jer2ki\"\n","bash","",[44,45,40],"code",{"__ignoreMap":42},[36,47,50],{"className":48,"code":49,"language":41,"meta":42},[39],"bun add -g @vuehouse\u002Fdl-cli\n\"cref:xsdjpa\"\n",[44,51,49],{"__ignoreMap":42},[36,53,56],{"className":54,"code":55,"language":41,"meta":42},[39],"npm install -g @vuehouse\u002Fdl-cli\n\"cref:xzzi2b\"\n",[44,57,55],{"__ignoreMap":42},[19,59,60,61,64],{},"The binary to run the commands is ",[44,62,63],{},"doclayer",".",[19,66,67,68,72],{},"If you prefer, ",[69,70,71],"strong",{},"each command can be also run without installing the CLI globally",". To do so, use the remote package runners instead. Apply for any command like this:",[32,74,75,81,87],{"tabs":34},[36,76,79],{"className":77,"code":78,"language":41,"meta":42},[39],"pnpx @vuehouse\u002Fdl-cli@latest (command)\n\"cref:ps2q1r\"\n",[44,80,78],{"__ignoreMap":42},[36,82,85],{"className":83,"code":84,"language":41,"meta":42},[39],"bunx @vuehouse\u002Fdl-cli@latest (command)\n\"cref:wu00fd\"\n",[44,86,84],{"__ignoreMap":42},[36,88,91],{"className":89,"code":90,"language":41,"meta":42},[39],"npx @vuehouse\u002Fdl-cli@latest (command)\n\"cref:3vutoa\"\n",[44,92,90],{"__ignoreMap":42},[11,94,96,99],{"id":95},"commands",[15,97,98],{"id":95},"Commands",[19,100,101,102,105],{},"Below is a list of the available commands. You can run ",[44,103,104],{},"doclayer --help"," to see the full list of commands and their usage.",[11,107,109,114,126,134,141],{"id":108},"init",[110,111,112],"h3",{"id":108},[44,113,108],{},[19,115,116,117,122,123,64],{},"This command lets you create a new DocLayer project on top of the ",[118,119,121],"dl-link",{"label":120},"Boilerplate","$dl-boilerplate"," - a ready-to-use application template that ",[69,124,125],{},"you can enter and start working with immediately",[32,127,128],{},[36,129,132],{"className":130,"code":131,"language":41,"meta":42},[39],"doclayer init\n# or with a custom folder name\ndoclayer init my-project\n\"cref:6x59dg\"\n",[44,133,131],{"__ignoreMap":42},[19,135,136,137,140],{},"By default, the CLI uses the SSH protocol to clone the Boilerplate repository. To use the HTTPS protocol instead, add the ",[44,138,139],{},"--https"," flag, like this:",[32,142,143],{},[36,144,147],{"className":145,"code":146,"language":41,"meta":42},[39],"doclayer init --https\n\"cref:mru09j\"\n",[44,148,146],{"__ignoreMap":42},{"title":42,"searchDepth":150,"depth":150,"links":151},2,[152,153,154],{"id":13,"depth":150,"text":17},{"id":24,"depth":150,"text":27},{"id":95,"depth":150,"text":98,"children":155},[156],{"id":108,"depth":157,"text":108},3,"Use Command Line Interface to extensively menage your DocLayer project","md",{},true,"\u002Fdocs\u002Fadvanced\u002Fcli",{"title":5,"description":158},{"loc":162},"docs\u002F09.advanced\u002F04.cli","pWmNYsJMptzyBs_y6y6A7bOzI4iziShu5lVAO5kgsgk",[168],{"title":169,"path":170,"stem":171,"children":172,"page":221},"Docs","\u002Fdocs","docs",[173,190,222,333,362,393,416,431,469,490],{"title":174,"path":175,"stem":176,"children":177,"description":6,"icon":189},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F01.getting-started\u002F01.index",[178,180,184],{"title":17,"path":175,"stem":176,"description":179},"What DocLayer is, who it’s for, and how it can help",{"title":27,"path":181,"stem":182,"description":183},"\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F01.getting-started\u002F02.installation","How to install and run DocLayer",{"title":185,"path":186,"stem":187,"description":188},"FAQ","\u002Fdocs\u002Fgetting-started\u002Ffaq","docs\u002F01.getting-started\u002F03.faq","Frequently asked questions about DocLayer","rocket",{"title":191,"description":6,"icon":192,"path":193,"stem":194,"children":195,"page":221},"Guidelines","file-pen-line","\u002Fdocs\u002Fguidelines","docs\u002F02.guidelines",[196,201,206,211,216],{"title":197,"path":198,"stem":199,"description":200},"Internals","\u002Fdocs\u002Fguidelines\u002Finternals","docs\u002F02.guidelines\u002F02.internals","How DocLayer's structure, its architecture and internals fit together",{"title":202,"path":203,"stem":204,"description":205},"Configuration","\u002Fdocs\u002Fguidelines\u002Fconfiguration","docs\u002F02.guidelines\u002F03.configuration","Customize DocLayer via `app.config.ts` and its configuration",{"title":207,"path":208,"stem":209,"description":210},"Writing Content","\u002Fdocs\u002Fguidelines\u002Fwriting-content","docs\u002F02.guidelines\u002F04.writing-content","Write Markdown with Nuxt Content, DocLayer and prebuilt utilities",{"title":212,"path":213,"stem":214,"description":215},"Defining Metadata","\u002Fdocs\u002Fguidelines\u002Fdefining-metadata","docs\u002F02.guidelines\u002F05.defining-metadata","Set global and per-page SEO metadata for your DocLayer app",{"title":217,"path":218,"stem":219,"description":220},"Theming","\u002Fdocs\u002Fguidelines\u002Ftheming","docs\u002F02.guidelines\u002F06.theming","Customize DocLayer’s look with CSS variables and utility classes",false,{"title":223,"path":224,"stem":225,"children":226,"description":6,"label":17,"icon":332},"Components","\u002Fdocs\u002Fcomponents","docs\u002F03.components\u002F01.index",[227,230,236,241,246,251,256,261,266,271,276,281,286,291,297,302,307,312,317,322,327],{"title":228,"path":224,"stem":225,"description":229,"label":17},"Components Introduction","Overview of DocLayer’s built-in Markdown content components",{"title":231,"path":232,"stem":233,"description":234,"label":235},"Components Building & Styling","\u002Fdocs\u002Fcomponents\u002Fbuilding","docs\u002F03.components\u002F02.building","Create custom content components with DlWrapper","DlWrapper",{"title":237,"path":238,"stem":239,"description":240},"DlRenderer","\u002Fdocs\u002Fcomponents\u002Frenderer","docs\u002F03.components\u002F03.renderer","Render reusable, shareable Markdown fragments anywhere in your content",{"title":242,"path":243,"stem":244,"description":245},"DlLink","\u002Fdocs\u002Fcomponents\u002Flink","docs\u002F03.components\u002F04.link","Create internal links resolved from the global path registry",{"title":247,"path":248,"stem":249,"description":250},"DlCode","\u002Fdocs\u002Fcomponents\u002Fcode","docs\u002F03.components\u002F05.code","Display your code snippets with syntax highlighting, copy, tabs, transformations and more",{"title":252,"path":253,"stem":254,"description":255},"DlCodeInline","\u002Fdocs\u002Fcomponents\u002Finline-code","docs\u002F03.components\u002F05.inline-code","Display inline code that stays on one line",{"title":257,"path":258,"stem":259,"description":260},"DlCallout","\u002Fdocs\u002Fcomponents\u002Fcallout","docs\u002F03.components\u002F06.callout","Display notes, warnings, and alerts as type-based callout blocks",{"title":252,"path":262,"stem":263,"description":255,"badge":264},"\u002Fdocs\u002Fcomponents\u002Fcode-inline","docs\u002F03.components\u002F06.code-inline",{"label":265,"glow":161},"new",{"title":267,"path":268,"stem":269,"description":270},"DlBadge","\u002Fdocs\u002Fcomponents\u002Fbadge","docs\u002F03.components\u002F07.badge","Show compact type-based status labels",{"title":272,"path":273,"stem":274,"description":275},"DlImage","\u002Fdocs\u002Fcomponents\u002Fimage","docs\u002F03.components\u002F08.image","Present optimized, responsive images with optional caption and inline styling",{"title":277,"path":278,"stem":279,"description":280},"DlStepper","\u002Fdocs\u002Fcomponents\u002Fstepper","docs\u002F03.components\u002F09.stepper","List vertical step sequences using named slots",{"title":282,"path":283,"stem":284,"description":285},"DlTooltip","\u002Fdocs\u002Fcomponents\u002Ftooltip","docs\u002F03.components\u002F10.tooltip","Annotate with contextual configurable tooltips",{"title":287,"path":288,"stem":289,"description":290},"DlPrompter","\u002Fdocs\u002Fcomponents\u002Fprompter","docs\u002F03.components\u002F11.prompter","Prompt the search index and AI Assistant with hidden, removable content inserts",{"title":292,"path":293,"stem":294,"description":295,"badge":296},"DlFormat","\u002Fdocs\u002Fcomponents\u002Fformat","docs\u002F03.components\u002F12.format","Format Markdown content into a structured HTML output",{"label":265,"glow":161},{"title":298,"path":299,"stem":300,"description":301},"DlSection","\u002Fdocs\u002Fcomponents\u002Fsection","docs\u002F03.components\u002F13.section","Wrap and demarcate content sections",{"title":303,"path":304,"stem":305,"description":306},"DlGrid","\u002Fdocs\u002Fcomponents\u002Fgrid","docs\u002F03.components\u002F14.grid","Lay out named content items in a responsive grid",{"title":308,"path":309,"stem":310,"description":311},"DlHero","\u002Fdocs\u002Fcomponents\u002Fhero","docs\u002F03.components\u002F20.hero","Present a prominent page hero with title, lead and CTA",{"title":313,"path":314,"stem":315,"description":316},"DlHeading","\u002Fdocs\u002Fcomponents\u002Fheading","docs\u002F03.components\u002F21.heading","Divide content with section headings",{"title":318,"path":319,"stem":320,"description":321},"DlFeaturesGrid","\u002Fdocs\u002Fcomponents\u002Ffeatures-grid","docs\u002F03.components\u002F22.features-grid","Render a responsive features grid with animated and formatted tiles",{"title":323,"path":324,"stem":325,"description":326},"DlNewsletter","\u002Fdocs\u002Fcomponents\u002Fnewsletter","docs\u002F03.components\u002F23.newsletter","Collect newsletter subscriptions with a styled form",{"title":328,"path":329,"stem":330,"description":331},"DlTypeman","\u002Fdocs\u002Fcomponents\u002Ftypeman","docs\u002F03.components\u002F24.typeman","Animate rotating words with a blinking cursor effect","brick-wall",{"title":334,"path":335,"stem":336,"children":337,"description":6,"label":17,"icon":361},"Utilities","\u002Fdocs\u002Futils","docs\u002F04.utils\u002F01.index",[338,341,345,350,355],{"title":339,"path":335,"stem":336,"description":340,"label":17},"Utilities Introduction","Helpers, composables, macros, and types for extending DocLayer beyond Markdown",{"title":334,"path":342,"stem":343,"description":344},"\u002Fdocs\u002Futils\u002Futilities","docs\u002F04.utils\u002F02.utilities","Auto-imported helper functions for common tasks across DocLayer",{"title":346,"path":347,"stem":348,"description":349},"Composables","\u002Fdocs\u002Futils\u002Fcomposables","docs\u002F04.utils\u002F03.composables","Vue composables for collections, UI resolution, navigation, and content",{"title":351,"path":352,"stem":353,"description":354},"Macros","\u002Fdocs\u002Futils\u002Fmacros","docs\u002F04.utils\u002F04.macros","Compile-time macros for typed app config, adapters, and component UI",{"title":356,"path":357,"stem":358,"description":359,"label":360},"Utility Types","\u002Fdocs\u002Futils\u002Ftypes","docs\u002F04.utils\u002F05.types","TypeScript utilities for safer DocLayer development","Types","tool-case",{"title":363,"path":364,"stem":365,"children":366,"description":6,"label":370,"icon":392},"Adapters","\u002Fdocs\u002Fadapters","docs\u002F05.adapters\u002F01.index",[367,371,376,382,387],{"title":368,"path":364,"stem":365,"description":369,"label":370},"Building Adapters","Build type-safe adapters to plug external services into DocLayer","Building",{"title":372,"path":373,"stem":374,"description":375},"Google","\u002Fdocs\u002Fadapters\u002Fgoogle","docs\u002F05.adapters\u002F10.google","Connect DocLayer to Google products through built-in adapters",{"title":377,"path":378,"stem":379,"description":380,"label":377,"badge":381},"PostHog","\u002Fdocs\u002Fadapters\u002Fposthog","docs\u002F05.adapters\u002F11.posthog","Record product analytics with the PostHog analytics adapter",{"label":265,"glow":161},{"title":383,"path":384,"stem":385,"description":386},"Resend","\u002Fdocs\u002Fadapters\u002Fresend","docs\u002F05.adapters\u002F20.resend","Send newsletter emails with the Resend newsletter adapter",{"title":388,"path":389,"stem":390,"description":391},"Substack","\u002Fdocs\u002Fadapters\u002Fsubstack","docs\u002F05.adapters\u002F21.substack","Subscribe users to Substack via DocLayer’s adapter","circle-fading-plus",{"title":394,"path":395,"stem":396,"children":397,"description":6,"label":17,"icon":415},"Search ✨","\u002Fdocs\u002Fsearch","docs\u002F06.search\u002F01.index",[398,401,406,410],{"title":399,"path":395,"stem":396,"description":400,"label":17},"Search Module Introduction","Brief intro into built-in DocLayer’s Search Module",{"title":402,"path":403,"stem":404,"description":405},"Installation & Usage","\u002Fdocs\u002Fsearch\u002Fusage","docs\u002F06.search\u002F02.usage","Wire DocLayer’s Search Module into your app",{"title":202,"path":407,"stem":408,"description":409},"\u002Fdocs\u002Fsearch\u002Fconfiguration","docs\u002F06.search\u002F03.configuration","Configure static search, indexing, and the AI assistant in DocLayer's Search Module",{"title":411,"path":412,"stem":413,"description":414},"API Reference","\u002Fdocs\u002Fsearch\u002Freference","docs\u002F06.search\u002F04.reference","API reference for DocLayer’s Search Module","scan-search",{"title":417,"path":418,"stem":419,"children":420,"description":6,"icon":430},"Deployment","\u002Fdocs\u002Fdeployment","docs\u002F07.deployment\u002F01.index",[421,424],{"title":422,"path":418,"stem":419,"description":423},"Building & Preparations","Build a static DocLayer app and prepare it for hosting",{"title":425,"path":426,"stem":427,"description":428,"label":429},"Vercel Deployment","\u002Fdocs\u002Fdeployment\u002Fvercel","docs\u002F07.deployment\u002F02.vercel","Deploy DocLayer to Vercel via UI, CLI, or CI","Vercel","server-crash",{"title":432,"description":6,"icon":433,"path":434,"stem":435,"children":436,"page":221},"Advanced","file-terminal","\u002Fdocs\u002Fadvanced","docs\u002F09.advanced",[437,443,448,449,454,459,464],{"title":438,"path":439,"stem":440,"description":441,"label":442},"DocLayer Monorepo","\u002Fdocs\u002Fadvanced\u002Fmonorepo","docs\u002F09.advanced\u002F02.monorepo","pnpm workspaces, Turborepo, and workflows for the DocLayer monorepo","Monorepo",{"title":444,"path":445,"stem":446,"description":447},"Globals","\u002Fdocs\u002Fadvanced\u002Fglobals","docs\u002F09.advanced\u002F03.globals","DocLayer’s global instances for easy and quick access",{"title":5,"path":162,"stem":165,"description":158},{"title":450,"path":451,"stem":452,"description":453},"Security","\u002Fdocs\u002Fadvanced\u002Fsecurity","docs\u002F09.advanced\u002F05.security","Security defaults DocLayer ships with Nuxt Security",{"title":455,"path":456,"stem":457,"description":458},"AI Tuning","\u002Fdocs\u002Fadvanced\u002Fai-tuning","docs\u002F09.advanced\u002F06.ai-tuning","Templates and rules for AGENTS.md, coding agents, and content-author AI",{"title":460,"path":461,"stem":462,"description":463},"Error Handling","\u002Fdocs\u002Fadvanced\u002Ferror-handling","docs\u002F09.advanced\u002F07.error-handling","How DocLayer validates and reports errors in authoring, build, and production",{"title":465,"path":466,"stem":467,"description":468},"Troubleshooting","\u002Fdocs\u002Fadvanced\u002Ftroubleshooting","docs\u002F09.advanced\u002F08.troubleshooting","Known DocLayer issues and quick fixes",{"title":470,"description":6,"icon":471,"path":472,"stem":473,"children":474,"page":221},"Project","shield-ellipsis","\u002Fdocs\u002Fproject","docs\u002F10.project",[475,480,485],{"title":476,"path":477,"stem":478,"description":479},"Contribution","\u002Fdocs\u002Fproject\u002Fcontribution","docs\u002F10.project\u002F01.contribution","How to report issues and when contributions are welcome",{"title":481,"path":482,"stem":483,"description":484},"Principles","\u002Fdocs\u002Fproject\u002Fethos","docs\u002F10.project\u002F02.ethos","Who we are, what we care about, and how we treat each other",{"title":486,"path":487,"stem":488,"description":489},"Support","\u002Fdocs\u002Fproject\u002Fsupport","docs\u002F10.project\u002F03.support","Join the Early Supporter Program and help fund DocLayer’s development",{"title":411,"description":6,"icon":491,"path":492,"stem":493,"children":494,"page":221},"file-type","\u002Fdocs\u002Freference","docs\u002F99.reference",[495,500,505],{"title":496,"path":497,"stem":498,"description":499},"App Config","\u002Fdocs\u002Freference\u002Fapp-config","docs\u002F99.reference\u002F01.app-config","API Reference for DocLayer’s AppConfig",{"title":501,"path":502,"stem":503,"description":504},"Module Options","\u002Fdocs\u002Freference\u002Fmodule-options","docs\u002F99.reference\u002F01.module-options","API Reference for DocLayer’s ModuleOptions",{"title":506,"path":507,"stem":508,"description":509},"Content Schema","\u002Fdocs\u002Freference\u002Fcontent-schema","docs\u002F99.reference\u002F02.content-schema","API Reference for DocLayer’s Content Schema",[511,512,513,514],{"title":438,"path":439,"stem":440,"description":441,"label":442,"children":-1},{"title":444,"path":445,"stem":446,"description":447,"children":-1},{"title":450,"path":451,"stem":452,"description":453,"children":-1},{"title":455,"path":456,"stem":457,"description":458,"children":-1},1795796072842]