{"modulePath":"github.com/hookdeck/hookdeck-cli","version":"v1.9.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\ngenerate-reference generates REFERENCE.md (or other files) from Cobra command metadata.\n\nIt reads input file(s), finds GENERATE marker pairs, and replaces content between START and END with generated output. Structure is controlled by the input file.\n\nMarker format:\n\n  - GENERATE\\_TOC:START ... GENERATE\\_END - table of contents\n  - GENERATE\\_GLOBAL\\_FLAGS:START ... GENERATE\\_END - global options\n  - GENERATE\\_HELP:path:START ... GENERATE\\_END - help output for command (e.g. path=connection)\n  - GENERATE:path1|path2|path3:START ... GENERATE\\_END - command docs (| separator)\n\nUse \\\u003c!-- GENERATE\\_END --\u003e to close any block (no need to repeat the command list).\n\nUsage:\n\n\tgo run ./tools/generate-reference --input REFERENCE.md                    # in-place\n\tgo run ./tools/generate-reference --input REFERENCE.template.md --output REFERENCE.md\n\tgo run ./tools/generate-reference --input a.mdoc --input b.mdoc           # batch, each in-place\n\tgo run ./tools/generate-reference --input REFERENCE.md --check            # verify up to date\n\nFor website two-column layout (section/div/aside), add --no-toc, --no-examples-heading, and wrappers:\n\n\t--no-toc --no-examples-heading --wrapper-section-start \"\u003csection\u003e\" --wrapper-section-end \"\u003c/section\u003e\"\n\t--wrapper-main-start \"\u003cdiv\u003e\" --wrapper-main-end \"\u003c/div\u003e\"\n\t--wrapper-aside-start \"\u003caside\u003e\" --wrapper-aside-end \"\u003c/aside\u003e\"\n\nFor REFERENCE.md (no wrappers, include in-page TOC): use --no-wrappers or omit wrapper flags.\n\n","path":"github.com/hookdeck/hookdeck-cli/tools/generate-reference","name":"main","synopsis":"generate-reference generates REFERENCE.md (or other files) from Cobra command metadata.","isRedistributable":true}
