[{"data":1,"prerenderedAt":1548,"buildId":1549},["ShallowReactive",2],{"docs:\u002Fintegrations\u002Fcli":3},{"page":4,"section":16,"document":17,"credits":10,"prev":1544,"next":10},{"id":5,"path":6,"file":7,"title":8,"sourceTitle":8,"description":9,"tagline":9,"eyebrow":10,"credits":10,"keywords":11,"icon":12,"layout":13,"sidebar":14,"toc":14,"kind":10,"group":10,"navigation":14,"order":15},"cli","\u002Fintegrations\u002Fcli","integrations\u002Fcli.md","Command line","Run the glosslint CLI to check Markdown docs, lint and repair your glossary with doctor, test examples, print corpora, and explain words.",null,[],"i-lucide-terminal","article",true,5,"integrations",{"nodes":18,"toc":1531},[19,32,40,79,114,124,143,166,193,295,321,327,393,401,405,410,450,483,498,639,653,660,687,708,714,723,733,737,778,789,802,811,819,958,985,995,999,1018,1044,1062,1065,1103,1107,1118,1136,1149,1155,1189,1193,1198,1214,1258,1273,1292,1301,1305,1356,1381,1399,1421,1445,1489,1512],[20,21,22,23,27,28,31],"p",{},"Use the glosslint CLI to check Markdown and text files, validate and repair ",[24,25,26],"code",{},".agents\u002Fglossary.md"," with ",[24,29,30],{},"doctor",", test term examples in CI, print a merged corpus, and look up terms from the terminal.",[33,34,39],"h2",{"id":35,"anchor":36},"corpus-and-flags",{"label":37,"icon":38},"Section titled \"Corpus and flags\"","#","Corpus and flags",[20,41,42,45,46,45,49,45,52,55,56,59,60,62,63,66,67,70,71,78],{},[24,43,44],{},"check",", ",[24,47,48],{},"test",[24,50,51],{},"print",[24,53,54],{},"explain",", and ",[24,57,58],{},"export"," read ",[24,61,26],{}," in the current folder. ",[24,64,65],{},"--glossary \u003Cpath>"," reads another glossary file, and ",[24,68,69],{},"--corpus \u003Cmodule>"," imports a module whose default export is a ",[72,73,75],"a",{"href":74},"\u002Fguide\u002Fcorpus",[24,76,77],{},"defineCorpus"," corpus:",[80,81,85],"pre",{"language":82,"frame":83,"class":84,"wrap":14},"sh","terminal","shiki shiki-themes github-light-default github-dark-default dark:github-dark-default",[24,86,88],{"class":87},"language-sh",[89,90,93,97,101,104,107,111],"span",{"class":91,"style":92},"line","display: inline",[89,94,96],{"style":95},"color:#953800;--shiki-dark:#FFA657","npx",[89,98,100],{"style":99},"color:#0A3069;--shiki-dark:#A5D6FF"," glosslint",[89,102,103],{"style":99}," check",[89,105,106],{"style":99}," docs",[89,108,110],{"style":109},"color:#0550AE;--shiki-dark:#79C0FF"," --corpus",[89,112,113],{"style":99}," .\u002Fglossary.ts",[20,115,116,119,120,123],{},[24,117,118],{},"--corpus"," also takes a package specifier. It resolves from the current folder's ",[24,121,122],{},"node_modules",", then from glosslint's own install, so the bundled presets work without a module of your own:",[80,125,126],{"language":82,"frame":83,"class":84,"wrap":14},[24,127,128],{"class":87},[89,129,130,132,134,136,138,140],{"class":91,"style":92},[89,131,96],{"style":95},[89,133,100],{"style":99},[89,135,103],{"style":99},[89,137,106],{"style":99},[89,139,110],{"style":109},[89,141,142],{"style":99}," glosslint\u002Fpresets\u002Ftech",[20,144,145,146,148,149,152,153,27,156,159,160,27,162,165],{},"Passing both ",[24,147,118],{}," and ",[24,150,151],{},"--glossary"," exits ",[24,154,155],{},"2",[24,157,158],{},"GLOSSLINT_USAGE",". A missing glossary file or module exits ",[24,161,155],{},[24,163,164],{},"GLOSSLINT_C009",".",[20,167,168,171,172,174,175,177,178,45,180,55,182,184,185,188,189,192],{},[24,169,170],{},"glosslint doctor"," reads only the glossary file (",[24,173,26],{}," or ",[24,176,65],{},"), never a corpus module. ",[24,179,44],{},[24,181,48],{},[24,183,30],{}," also accept ",[24,186,187],{},"--color",", which is on by default when writing to a terminal unless ",[24,190,191],{},"NO_COLOR"," is set.",[194,195,196,209],"table",{},[197,198,199],"thead",{},[200,201,202,206],"tr",{},[203,204,205],"th",{},"Command",[203,207,208],{},"What it does",[210,211,212,230,245,255,265,275,285],"tbody",{},[200,213,214,220],{},[215,216,217],"td",{},[24,218,219],{},"glosslint [check] [...paths] [--fix]",[215,221,222,223,226,227,229],{},"Check Markdown, MDX, and text files, and write the autofixes into them with ",[24,224,225],{},"--fix",". ",[24,228,44],{}," is the default command.",[200,231,232,237],{},[215,233,234],{},[24,235,236],{},"glosslint doctor [--glossary \u003Cpath>] [--fix]",[215,238,239,240,242,243,165],{},"Check ",[24,241,26],{}," for format, value, and example problems, and rewrite fixable ones with ",[24,244,225],{},[200,246,247,252],{},[215,248,249],{},[24,250,251],{},"glosslint test",[215,253,254],{},"Check every term's good and bad examples across the loaded corpus.",[200,256,257,262],{},[215,258,259],{},[24,260,261],{},"glosslint print [--format md|json]",[215,263,264],{},"Print the corpus as a Markdown glossary or as JSON.",[200,266,267,272],{},[215,268,269],{},[24,270,271],{},"glosslint explain \u003Cquery>",[215,273,274],{},"Show what the corpus says about a word or phrase.",[200,276,277,282],{},[215,278,279],{},[24,280,281],{},"glosslint export [--merge \u003Cfile>] [--note full|short]",[215,283,284],{},"Print the corpus as an x18n glossary in YAML, or merge it into one.",[200,286,287,292],{},[215,288,289],{},[24,290,291],{},"glosslint export --diglot \u003Clocale> [--merge \u003Cfile>]",[215,293,294],{},"Print one locale's diglot glossary in YAML, or merge it into one.",[296,297,300],"github-callout",{"type":298,"title":299},"note","Note",[20,301,302,305,306,309,310,55,312,174,316,320],{},[24,303,304],{},"glosslint check --fix"," fixes docs, ",[24,307,308],{},"glosslint doctor --fix"," repairs ",[24,311,26],{},[72,313,315],{"href":314},"\u002Fintegrations\u002Feslint","ESLint",[72,317,319],{"href":318},"\u002Fintegrations\u002Foxlint","Oxlint"," autofix code.",[33,322,326],{"id":323,"anchor":324},"exit-codes",{"label":325,"icon":38},"Section titled \"Exit codes\"","Exit codes",[194,328,329,339],{},[197,330,331],{},[200,332,333,336],{},[203,334,335],{},"Exit code",[203,337,338],{},"Meaning",[210,340,341,360,384],{},[200,342,343,348],{},[215,344,345],{},[24,346,347],{},"0",[215,349,350,351,353,354,356,357,359],{},"No findings, no ",[24,352,30],{}," problems left, every ",[24,355,48],{}," example passes, or ",[24,358,54],{}," found a term.",[200,361,362,367],{},[215,363,364],{},[24,365,366],{},"1",[215,368,369,371,372,374,375,377,378,380,381,383],{},[24,370,44],{}," found something (with ",[24,373,225],{},", something it could not fix), ",[24,376,30],{}," has problems remaining, a ",[24,379,48],{}," example failed, or ",[24,382,54],{}," found no term.",[200,385,386,390],{},[215,387,388],{},[24,389,155],{},[215,391,392],{},"The glossary or corpus module is missing or invalid, or the command line is wrong. The error goes to stderr.",[20,394,395,396,400],{},"See ",[72,397,399],{"href":398},"\u002Fguide\u002Fconfig-errors","Config and glossary errors"," for every error code.",[33,402,44],{"id":44,"anchor":403},{"label":404,"icon":38},"Section titled \"check\"",[20,406,407,409],{},[24,408,44],{}," is the default command. It reads files, folders, and glob patterns. With no path, it reads the current folder.",[20,411,412,413,415,416,45,419,55,422,425,426,148,428,431,432,174,434,436,437,440,441,444,445,449],{},"When given a folder, ",[24,414,44],{}," reads ",[24,417,418],{},".md",[24,420,421],{},".mdx",[24,423,424],{},".txt"," files while skipping ",[24,427,122],{},[24,429,430],{},".git",". The glossary file loaded directly (",[24,433,26],{},[24,435,65],{},") is always skipped, even if you name it or check its parent folder. Pass ",[24,438,439],{},"--ext md,mdx"," to change which extensions it reads in folders. Pass ",[24,442,443],{},"--format json"," to print machine-readable output; see ",[72,446,448],{"href":447},"\u002Fguide\u002Ffindings","Findings"," for the JSON schema.",[20,451,452,453,455,456,148,459,461,462,148,464,467,468,148,471,474,475,478,479,482],{},"In Markdown files, ",[24,454,44],{}," skips frontmatter, fenced and inline code, HTML comments and tags, link targets, and reference definitions. In MDX files, it also skips ",[24,457,458],{},"import",[24,460,58],{}," lines. It reads headings as labels, each table cell on its own with the first row as headers, and paragraphs and list items as sentences. In ",[24,463,418],{},[24,465,466],{},".markdown"," files, it skips Comark (MDC) component markup like ",[24,469,470],{},"::note",[24,472,473],{},"#title",", starts a new paragraph on the first line inside a component, and still checks component and slot text plus text props, reading ",[24,476,477],{},"title"," as a label. A ",[24,480,481],{},"\u003C!-- glosslint-ignore -->"," comment skips the next line with text, or its own line when text sits beside it.",[80,484,485],{"language":82,"frame":83,"class":84,"wrap":14},[24,486,487],{"class":87},[89,488,489,491,493,495],{"class":91,"style":92},[89,490,96],{"style":95},[89,492,100],{"style":99},[89,494,103],{"style":99},[89,496,497],{"style":99}," docs\u002Fguide",[80,499,501],{"language":500,"class":84,"wrap":14},"txt",[24,502,504,509,510,509,515,509,520,509,525,509,530,509,535,509,539,509,543,509,548,509,553,509,558,509,562,509,567,509,572,509,577,509,582,509,586,509,591,509,596,509,601,509,606,509,611,509,615,509,620,509,625,509,630,509,634],{"class":503},"language-txt",[89,505,506],{"class":91,"style":92},[89,507,508],{},"[GLOSSLINT_CASE] \"day pass\" in docs\u002Fguide\u002Fpasses.md:1:12","\n",[89,511,512],{"class":91,"style":92},[89,513,514],{},"├▶ fix: Change to \"Day Pass\": \"# Buying a Day Pass\"",[89,516,517],{"class":91,"style":92},[89,518,519],{},"╰▶ term: Day Pass",[89,521,522],{"class":91,"style":92},[89,523,524],{},"",[89,526,527],{"class":91,"style":92},[89,528,529],{},"[GLOSSLINT_CASE] \"Day Pass\" in docs\u002Fguide\u002Fpasses.md:3:7",[89,531,532],{"class":91,"style":92},[89,533,534],{},"├▶ fix: Change to \"day pass\": \"Buy a day pass at the kiosk, or pay with Apple pay in the app.\"",[89,536,537],{"class":91,"style":92},[89,538,519],{},[89,540,541],{"class":91,"style":92},[89,542,524],{},[89,544,545],{"class":91,"style":92},[89,546,547],{},"[GLOSSLINT_CASE] \"Apple pay\" in docs\u002Fguide\u002Fpasses.md:3:42",[89,549,550],{"class":91,"style":92},[89,551,552],{},"├▶ fix: Change to \"Apple Pay\": \"Buy a Day Pass at the kiosk, or pay with Apple Pay in the app.\"",[89,554,555],{"class":91,"style":92},[89,556,557],{},"╰▶ term: Apple Pay",[89,559,560],{"class":91,"style":92},[89,561,524],{},[89,563,564],{"class":91,"style":92},[89,565,566],{},"[GLOSSLINT_AVOID] \"Manned\" in docs\u002Fguide\u002Fpasses.md:4:1",[89,568,569],{"class":91,"style":92},[89,570,571],{},"├▶ why: It assumes the people on duty are men.",[89,573,574],{"class":91,"style":92},[89,575,576],{},"├▶ fix: Use \"Staffed\": \"Staffed stations sell passes from 7:00 to 19:00.\"",[89,578,579],{"class":91,"style":92},[89,580,581],{},"╰▶ term: staffed, having people on duty.",[89,583,584],{"class":91,"style":92},[89,585,524],{},[89,587,588],{"class":91,"style":92},[89,589,590],{},"[GLOSSLINT_AVOID] \"rack\" in docs\u002Fguide\u002Friding.md:3:56",[89,592,593],{"class":91,"style":92},[89,594,595],{},"├▶ why: Racks are unpowered.",[89,597,598],{"class":91,"style":92},[89,599,600],{},"├▶ fix: Use \"dock\": \"Unlock a bike at any station, then return it to a free dock when you finish.\"",[89,602,603],{"class":91,"style":92},[89,604,605],{},"├▶ term: Dock, a powered stand where one bike is locked.",[89,607,608],{"class":91,"style":92},[89,609,610],{},"╰▶ see: https:\u002F\u002Fexample.com\u002Fdocs\u002Fdocks",[89,612,613],{"class":91,"style":92},[89,614,524],{},[89,616,617],{"class":91,"style":92},[89,618,619],{},"[GLOSSLINT_TERM] \"e-bike\" in docs\u002Fguide\u002Friding.md:4:15",[89,621,622],{"class":91,"style":92},[89,623,624],{},"├▶ fix: Change to \"eBike\": \"Check out our eBike fleet if the hill feels long.\"",[89,626,627],{"class":91,"style":92},[89,628,629],{},"╰▶ term: eBike",[89,631,632],{"class":91,"style":92},[89,633,524],{},[89,635,636],{"class":91,"style":92},[89,637,638],{},"6 findings in 2 of 2 files.",[20,640,641,642,645,646,649,650,165],{},"The heading \"Buying a day pass\" is a label, so Day Pass takes Title Case there. In the next line it sits inside a sentence, so it takes lowercase. \"Check out our\" and \"roof rack\" are in ",[24,643,644],{},"Allow:",", and the CLI never reads the code block. Apple Pay comes from ",[24,647,648],{},"Presets: tech"," and \"Manned\" from ",[24,651,652],{},"inclusive",[654,655,659],"h3",{"id":656,"anchor":657},"fixing-findings",{"label":658,"icon":38},"Section titled \"Fixing findings\"","Fixing findings",[20,661,662,663,665,666,669,670,673,674,677,678,680,681,683,684,686],{},"Pass ",[24,664,225],{}," to write every finding with one replacement into its file: a different spelling (",[24,667,668],{},"GLOSSLINT_TERM",") or wrong capitals (",[24,671,672],{},"GLOSSLINT_CASE","). An avoid word (",[24,675,676],{},"GLOSSLINT_AVOID",") needs a person to pick the wording, so it stays a finding. ",[24,679,225],{}," never touches what ",[24,682,44],{}," skips, such as code, frontmatter, or a line after ",[24,685,481],{},". It applies fixes until none is left, so a second run changes nothing.",[80,688,689],{"language":82,"frame":83,"class":84,"wrap":14},[24,690,691],{"class":87},[89,692,693,695,697,699,701,703,705],{"class":91,"style":92},[89,694,96],{"style":95},[89,696,100],{"style":99},[89,698,103],{"style":99},[89,700,106],{"style":99},[89,702,110],{"style":109},[89,704,142],{"style":99},[89,706,707],{"style":109}," --fix",[20,709,710,711,713],{},"It prints the findings left as trees, then how many it fixed, and exits ",[24,712,366],{}," only if findings are left:",[80,715,716],{"language":500,"class":84,"wrap":14},[24,717,718],{"class":503},[89,719,720],{"class":91,"style":92},[89,721,722],{},"Fixed 2 findings in 1 of 270 files.",[20,724,725,726,728,729,732],{},"With ",[24,727,443],{},", the summary also has ",[24,730,731],{},"fixed",", the number of fixes written.",[33,734,30],{"id":30,"anchor":735},{"label":736,"icon":38},"Section titled \"doctor\"",[20,738,739,741,742,744,745,747,748,752,753,756,757,760,761,148,764,767,768,771,772,774,775,165],{},[24,740,30],{}," lints ",[24,743,26],{}," (or ",[24,746,65],{},") against the ",[72,749,751],{"href":750},"\u002Fguide\u002Fglossary","glossary file format"," (",[24,754,755],{},"GLOSSLINT_G001"," to ",[24,758,759],{},"GLOSSLINT_G008",") and tests every term's ",[24,762,763],{},"Good",[24,765,766],{},"Bad"," examples against the file's own corpus (",[24,769,770],{},"GLOSSLINT_G009","). Pass ",[24,773,443],{}," to print ",[24,776,777],{},"{ problems, summary }",[20,779,780,781,45,784,152,786,788],{},"On a clean file such as ",[24,782,783],{},"examples\u002Fbasic\u002F.agents\u002Fglossary.md",[24,785,30],{},[24,787,347],{},":",[80,790,791],{"language":82,"frame":83,"class":84,"wrap":14},[24,792,793],{"class":87},[89,794,795,797,799],{"class":91,"style":92},[89,796,96],{"style":95},[89,798,100],{"style":99},[89,800,801],{"style":99}," doctor",[80,803,804],{"language":500,"class":84,"wrap":14},[24,805,806],{"class":503},[89,807,808],{"class":91,"style":92},[89,809,810],{},"No problems in .agents\u002Fglossary.md.",[20,812,813,814,816,817,788],{},"When the file has problems, ",[24,815,30],{}," prints each one with its code, file and line number, term (when inside one), and fix, then exits ",[24,818,366],{},[80,820,821],{"language":500,"class":84,"wrap":14},[24,822,823,509,828,509,833,509,837,509,842,509,847,509,852,509,856,509,861,509,866,509,870,509,875,509,879,509,884,509,888,509,893,509,897,509,902,509,906,509,911,509,916,509,920,509,925,509,930,509,934,509,939,509,944,509,949,509,953],{"class":503},[89,824,825],{"class":91,"style":92},[89,826,827],{},"[GLOSSLINT_G001] .agents\u002Fglossary.md:1: The title is \"Words\", not \"Glossary\".",[89,829,830],{"class":91,"style":92},[89,831,832],{},"╰▶ fix: Retitle it \"# Glossary\".",[89,834,835],{"class":91,"style":92},[89,836,524],{},[89,838,839],{"class":91,"style":92},[89,840,841],{},"[GLOSSLINT_G002] .agents\u002Fglossary.md:4: \"description\" is another name for \"What\".",[89,843,844],{"class":91,"style":92},[89,845,846],{},"├▶ term: Dock",[89,848,849],{"class":91,"style":92},[89,850,851],{},"╰▶ fix: Rename it to \"What\".",[89,853,854],{"class":91,"style":92},[89,855,524],{},[89,857,858],{"class":91,"style":92},[89,859,860],{},"[GLOSSLINT_G008] .agents\u002Fglossary.md:5: \"station\" is an avoid word of \"Dock\" and a term of its own.",[89,862,863],{"class":91,"style":92},[89,864,865],{},"╰▶ fix: Remove it from the Avoid list of \"Dock\", or remove the term \"station\".",[89,867,868],{"class":91,"style":92},[89,869,524],{},[89,871,872],{"class":91,"style":92},[89,873,874],{},"[GLOSSLINT_G004] .agents\u002Fglossary.md:6: \"Note\" is not a field.",[89,876,877],{"class":91,"style":92},[89,878,846],{},[89,880,881],{"class":91,"style":92},[89,882,883],{},"╰▶ fix: Use \"What\", \"How\", \"Why\", \"Avoid\", \"Good\", \"Bad\", \"Links\", \"Case\", \"Casing\", \"Translations\", \"Forms\" or \"Hints\", or reword the line so it does not start with \"Note:\".",[89,885,886],{"class":91,"style":92},[89,887,524],{},[89,889,890],{"class":91,"style":92},[89,891,892],{},"[GLOSSLINT_G006] .agents\u002Fglossary.md:7: Case is \"loud\".",[89,894,895],{"class":91,"style":92},[89,896,846],{},[89,898,899],{"class":91,"style":92},[89,900,901],{},"╰▶ fix: Use \"exact\", \"spelling\" or \"context\".",[89,903,904],{"class":91,"style":92},[89,905,524],{},[89,907,908],{"class":91,"style":92},[89,909,910],{},"[GLOSSLINT_G003] .agents\u002Fglossary.md:11: A blank line before this line.",[89,912,913],{"class":91,"style":92},[89,914,915],{},"╰▶ fix: Remove it: a term's heading and its fields go on consecutive lines.",[89,917,918],{"class":91,"style":92},[89,919,524],{},[89,921,922],{"class":91,"style":92},[89,923,924],{},"[GLOSSLINT_G005] .agents\u002Fglossary.md:14: \"station\" is written twice: \"Station\" is the same term.",[89,926,927],{"class":91,"style":92},[89,928,929],{},"╰▶ fix: Merge the two sections into one.",[89,931,932],{"class":91,"style":92},[89,933,524],{},[89,935,936],{"class":91,"style":92},[89,937,938],{},"[GLOSSLINT_G007] .agents\u002Fglossary.md:16: The parentheses in \"## Day Pass (day ticket)\" hold more than abbreviations.",[89,940,941],{"class":91,"style":92},[89,942,943],{},"├▶ term: Day Pass",[89,945,946],{"class":91,"style":92},[89,947,948],{},"╰▶ fix: Keep only abbreviations in parentheses, such as `## Day Pass (DP)`, and move the rest to `How`.",[89,950,951],{"class":91,"style":92},[89,952,524],{},[89,954,955],{"class":91,"style":92},[89,956,957],{},"8 problems in .agents\u002Fglossary.md.",[20,959,662,960,962,963,756,965,968,969,756,972,974,975,977,978,980,981,984],{},[24,961,225],{}," to rewrite fixable problems (",[24,964,755],{},[24,966,967],{},"GLOSSLINT_G003",") into canonical form while keeping term order, introduction prose, and field text. If any problem from ",[24,970,971],{},"GLOSSLINT_G004",[24,973,759],{}," is present, ",[24,976,225],{}," leaves the file untouched so it never drops text and exits ",[24,979,366],{},". Running ",[24,982,983],{},"doctor --fix"," a second time on a clean file changes no byte.",[20,986,395,987,990,991,994],{},[72,988,399],{"href":989},"\u002Fguide\u002Fconfig-errors#glossary-problem-codes"," for every ",[24,992,993],{},"GLOSSLINT_G00x"," code.",[33,996,48],{"id":48,"anchor":997},{"label":998,"icon":38},"Section titled \"test\"",[20,1000,1001,1003,1004,148,1006,1008,1009,1011,1012,1014,1015,1017],{},[24,1002,48],{}," checks every term's ",[24,1005,763],{},[24,1007,766],{}," examples across the loaded corpus, including presets and any ",[24,1010,77],{}," additions. Every ",[24,1013,763],{}," string must pass with no findings for that term, and every ",[24,1016,766],{}," string must give a finding for that term. Run it in CI and after editing your glossary or corpus module.",[80,1019,1020],{"language":82,"frame":83,"class":84,"wrap":14},[24,1021,1022],{"class":87},[89,1023,1024,1026,1028,1031,1035,1038,1041],{"class":91,"style":92},[89,1025,96],{"style":95},[89,1027,100],{"style":99},[89,1029,1030],{"style":99}," test",[89,1032,1034],{"style":1033},"color:#CF222E;--shiki-dark:#FF7B72"," |",[89,1036,1037],{"style":95}," tail",[89,1039,1040],{"style":109}," -n",[89,1042,1043],{"style":109}," 3",[80,1045,1046],{"language":500,"class":84,"wrap":14},[24,1047,1048,509,1053,509,1057],{"class":503},[89,1049,1050],{"class":91,"style":92},[89,1051,1052],{},"✓ Dock                    1 good, 1 bad",[89,1054,1055],{"class":91,"style":92},[89,1056,524],{},[89,1058,1059],{"class":91,"style":92},[89,1060,1061],{},"38 terms, 0 failing.",[20,1063,1064],{},"A failing term shows why it failed and what to change:",[80,1066,1067],{"language":500,"class":84,"wrap":14},[24,1068,1069,509,1074,509,1079,509,1084,509,1089,509,1094,509,1098],{"class":503},[89,1070,1071],{"class":91,"style":92},[89,1072,1073],{},"✗ Dock  good example \"Return the bike to a dock bay\" was flagged:",[89,1075,1076],{"class":91,"style":92},[89,1077,1078],{},"        \"bay\" is an avoid word for Dock.",[89,1080,1081],{"class":91,"style":92},[89,1082,1083],{},"        └ narrow the avoid word or move the example",[89,1085,1086],{"class":91,"style":92},[89,1087,1088],{},"        bad example \"Return the bike to a station\" was not flagged.",[89,1090,1091],{"class":91,"style":92},[89,1092,1093],{},"        └ add the wording to \"avoid\" or fix the example",[89,1095,1096],{"class":91,"style":92},[89,1097,524],{},[89,1099,1100],{"class":91,"style":92},[89,1101,1102],{},"1 term, 1 failing.",[33,1104,51],{"id":51,"anchor":1105},{"label":1106,"icon":38},"Section titled \"print\"",[20,1108,1109,1111,1112,752,1114,1117],{},[24,1110,51],{}," writes the loaded corpus as a Markdown summary (one section per term that says more than its spelling and one \"Spelling\" line for the rest), or as JSON with ",[24,1113,443],{},[24,1115,1116],{},"{ terms, allow }",").",[20,1119,1120,1121,1123,1124,1126,1127,1129,1130,1132,1133,1135],{},"Projects that keep their terms in ",[24,1122,26],{}," do not need ",[24,1125,51],{}," for coding agents, because agents read ",[24,1128,26],{}," directly. ",[24,1131,51],{}," is useful when you build your corpus in TypeScript and pass it with ",[24,1134,118],{},", or when you want a JSON export.",[80,1137,1138],{"language":82,"frame":83,"class":84,"wrap":14},[24,1139,1140],{"class":87},[89,1141,1142,1144,1146],{"class":91,"style":92},[89,1143,96],{"style":95},[89,1145,100],{"style":99},[89,1147,1148],{"style":99}," print",[20,1150,1151,1152,1154],{},"The Dock section of ",[24,1153,51],{},"'s Markdown output:",[80,1156,1157],{"language":500,"class":84,"wrap":14},[24,1158,1159,509,1164,509,1169,509,1174,509,1179,509,1184],{"class":503},[89,1160,1161],{"class":91,"style":92},[89,1162,1163],{},"## Dock",[89,1165,1166],{"class":91,"style":92},[89,1167,1168],{},"A powered stand where one bike is locked.",[89,1170,1171],{"class":91,"style":92},[89,1172,1173],{},"- A station is a group of docks.",[89,1175,1176],{"class":91,"style":92},[89,1177,1178],{},"- Don't write: rack (racks are unpowered), bay.",[89,1180,1181],{"class":91,"style":92},[89,1182,1183],{},"- Good: \"Return the bike to any dock\". Bad: \"Return the bike to any rack\".",[89,1185,1186],{"class":91,"style":92},[89,1187,1188],{},"- See: [Docks](https:\u002F\u002Fexample.com\u002Fdocs\u002Fdocks).",[33,1190,54],{"id":54,"anchor":1191},{"label":1192,"icon":38},"Section titled \"explain\"",[20,1194,1195,1197],{},[24,1196,54],{}," finds the term a word or phrase belongs to. The query may be the term itself, an abbreviation, a form, an avoid word, a misspelling, or a mention.",[80,1199,1200],{"language":82,"frame":83,"class":84,"wrap":14},[24,1201,1202],{"class":87},[89,1203,1204,1206,1208,1211],{"class":91,"style":92},[89,1205,96],{"style":95},[89,1207,100],{"style":99},[89,1209,1210],{"style":99}," explain",[89,1212,1213],{"style":99}," rack",[80,1215,1216],{"language":500,"class":84,"wrap":14},[24,1217,1218,509,1223,509,1228,509,1233,509,1238,509,1243,509,1248,509,1253],{"class":503},[89,1219,1220],{"class":91,"style":92},[89,1221,1222],{},"Dock",[89,1224,1225],{"class":91,"style":92},[89,1226,1227],{},"  \"rack\" is an avoid word for Dock. Racks are unpowered.",[89,1229,1230],{"class":91,"style":92},[89,1231,1232],{},"  A powered stand where one bike is locked.",[89,1234,1235],{"class":91,"style":92},[89,1236,1237],{},"  A station is a group of docks.",[89,1239,1240],{"class":91,"style":92},[89,1241,1242],{},"  Avoid: rack (racks are unpowered), bay.",[89,1244,1245],{"class":91,"style":92},[89,1246,1247],{},"  Good: \"Return the bike to any dock\". Bad: \"Return the bike to any rack\".",[89,1249,1250],{"class":91,"style":92},[89,1251,1252],{},"  See: Docks https:\u002F\u002Fexample.com\u002Fdocs\u002Fdocks",[89,1254,1255],{"class":91,"style":92},[89,1256,1257],{},"  Related: Station",[80,1259,1260],{"language":82,"frame":83,"class":84,"wrap":14},[24,1261,1262],{"class":87},[89,1263,1264,1266,1268,1270],{"class":91,"style":92},[89,1265,96],{"style":95},[89,1267,100],{"style":99},[89,1269,1210],{"style":99},[89,1271,1272],{"style":99}," e-bike",[80,1274,1275],{"language":500,"class":84,"wrap":14},[24,1276,1277,509,1282,509,1287],{"class":503},[89,1278,1279],{"class":91,"style":92},[89,1280,1281],{},"eBike",[89,1283,1284],{"class":91,"style":92},[89,1285,1286],{},"  \"e-bike\" is spelled \"eBike\".",[89,1288,1289],{"class":91,"style":92},[89,1290,1291],{},"  Always written \"eBike\".",[20,1293,1294,1295,1298,1299,165],{},"A word the corpus does not know prints ",[24,1296,1297],{},"No term in the corpus matches \"scooter\"."," and exits ",[24,1300,366],{},[33,1302,58],{"id":58,"anchor":1303},{"label":1304,"icon":38},"Section titled \"export\"",[20,1306,1307,1309,1310,1314,1315,1318,1319,45,1322,45,1324,148,1327,1330,1331,55,1340,226,1343,1346,1347,1350,1351,148,1353,165],{},[24,1308,58],{}," prints the corpus's own terms as an ",[72,1311,1313],{"href":1312},"\u002Fintegrations\u002Fx18n#exporting-your-corpus-to-x18ns-glossary","x18n glossary"," in YAML, leaving out those its ",[24,1316,1317],{},"Presets"," add: ",[24,1320,1321],{},"term",[24,1323,298],{},[24,1325,1326],{},"translations",[24,1328,1329],{},"forms"," from the glossary's ",[72,1332,1334,148,1337],{"href":1333},"\u002Fguide\u002Fglossary#translations-and-forms",[24,1335,1336],{},"Translations",[24,1338,1339],{},"Forms",[24,1341,1342],{},"doNotTranslate",[24,1344,1345],{},"--note short"," writes the term's ",[24,1348,1349],{},"What"," alone as the note, instead of ",[24,1352,1349],{},[24,1354,1355],{},"How",[80,1357,1358],{"language":82,"frame":83,"class":84,"wrap":14},[24,1359,1360],{"class":87},[89,1361,1362,1364,1366,1369,1372,1375,1378],{"class":91,"style":92},[89,1363,96],{"style":95},[89,1365,100],{"style":99},[89,1367,1368],{"style":99}," export",[89,1370,1371],{"style":109}," --note",[89,1373,1374],{"style":99}," short",[89,1376,1377],{"style":1033}," >",[89,1379,1380],{"style":99}," glossary.yml",[20,1382,1383,1386,1387,1390,1391,1394,1395,1398],{},[24,1384,1385],{},"--merge \u003Cfile>"," merges the corpus into an existing x18n glossary YAML and writes it in place. It matches entries by term or source-locale form, keeps their translations, comments and order, adds new terms at the end, and prints one line per change: ",[24,1388,1389],{},"+"," for an added term, ",[24,1392,1393],{},"~"," for an entry that got fields, and ",[24,1396,1397],{},"!"," for a translation it kept over the glossary's.",[80,1400,1401],{"language":82,"frame":83,"class":84,"wrap":14},[24,1402,1403],{"class":87},[89,1404,1405,1407,1409,1411,1413,1415,1418],{"class":91,"style":92},[89,1406,96],{"style":95},[89,1408,100],{"style":99},[89,1410,1368],{"style":99},[89,1412,1371],{"style":109},[89,1414,1374],{"style":99},[89,1416,1417],{"style":109}," --merge",[89,1419,1420],{"style":99}," ..\u002Ftranslations\u002Fglossary.yml",[80,1422,1423],{"language":500,"class":84,"wrap":14},[24,1424,1425,509,1430,509,1435,509,1440],{"class":503},[89,1426,1427],{"class":91,"style":92},[89,1428,1429],{},"..\u002Ftranslations\u002Fglossary.yml: 3 terms merged, 2 added, 1 updated, 0 unchanged.",[89,1431,1432],{"class":91,"style":92},[89,1433,1434],{},"+ Server route",[89,1436,1437],{"class":91,"style":92},[89,1438,1439],{},"+ NuxtApp",[89,1441,1442],{"class":91,"style":92},[89,1443,1444],{},"~ prerendering (Prerender): note, forms",[20,1446,1447,1450,1451,1455,1456,1459,1460,1463,1464,1467,1468,1470,1471,1474,1475,148,1477,1480,1481,148,1483,1485,1486,1488],{},[24,1448,1449],{},"--diglot \u003Clocale>"," exports that locale's ",[72,1452,1454],{"href":1453},"\u002Fintegrations\u002Fx18n#exporting-a-locale-to-diglot","diglot glossary"," instead, a ",[24,1457,1458],{},"terms:"," map with each term's decision, ",[24,1461,1462],{},"accept"," patterns, hint and a generated ",[24,1465,1466],{},"match",", for the terms that have an item for the locale in ",[24,1469,1336],{},". With ",[24,1472,1473],{},"--merge",", it writes into the locale's file in place, keeps the file's ",[24,1476,1466],{},[24,1478,1479],{},"caseSensitive"," (or their absence), other keys and comments, and prints the same ",[24,1482,1389],{},[24,1484,1393],{}," lines after a summary that also counts the entries whose own ",[24,1487,1466],{}," it kept:",[80,1490,1491],{"language":82,"frame":83,"class":84,"wrap":14},[24,1492,1493],{"class":87},[89,1494,1495,1497,1499,1501,1504,1507,1509],{"class":91,"style":92},[89,1496,96],{"style":95},[89,1498,100],{"style":99},[89,1500,1368],{"style":99},[89,1502,1503],{"style":109}," --diglot",[89,1505,1506],{"style":99}," fr",[89,1508,1417],{"style":109},[89,1510,1511],{"style":99}," ..\u002Ftranslations\u002Ffr\u002Fglossary.yml",[80,1513,1514],{"language":500,"class":84,"wrap":14},[24,1515,1516,509,1521,509,1526],{"class":503},[89,1517,1518],{"class":91,"style":92},[89,1519,1520],{},"..\u002Ftranslations\u002Ffr\u002Fglossary.yml: 2 terms merged, 1 added, 1 updated, 0 unchanged, 1 kept `match`.",[89,1522,1523],{"class":91,"style":92},[89,1524,1525],{},"+ Week Pass",[89,1527,1528],{"class":91,"style":92},[89,1529,1530],{},"~ dock: note, decision (was keep), target, accept",[1532,1534,1535,1539,1540,1541,1542,1543],{"id":35,"depth":1533,"text":39},2,{"id":323,"depth":1533,"text":326},{"id":44,"depth":1533,"text":44,"children":1536},[1537],{"id":656,"depth":1538,"text":659},3,{"id":30,"depth":1533,"text":30},{"id":48,"depth":1533,"text":48},{"id":51,"depth":1533,"text":51},{"id":54,"depth":1533,"text":54},{"id":58,"depth":1533,"text":58},{"path":1545,"title":1546,"description":1547},"\u002Fintegrations\u002Fx18n","x18n","Check source locale messages and hard-coded strings with the glosslint x18n plugin and export your glossary to x18n's glossary.",1795952942907,"f20d75f8-66fe-45da-ad80-3ee49bbc9209"]